Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005183/0.005183, allocations: 173.5 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.425/1.425, allocations: 194.5 MB / 210.3 MB, free: 7.824 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.00166, allocations: 116.6 kB / 255.6 MB, free: 10.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.164/0.164, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 18.48 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 54.88 MB / 461 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.304, allocations: 2.588 GB / 3.038 GB, free: 163.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004309/6.305, allocations: 85.61 kB / 3.038 GB, free: 163.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8054/7.11, allocations: 216.1 MB / 3.249 GB, free: 88.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/7.11, allocations: 0 / 3.249 GB, free: 88.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/7.11, allocations: 7.719 kB / 3.249 GB, free: 88.88 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005601/7.116, allocations: 1.207 MB / 3.25 GB, free: 88.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/7.116, allocations: 7.812 kB / 3.25 GB, free: 88.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/7.117, allocations: 228.3 kB / 3.25 GB, free: 88.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/7.118, allocations: 385.7 kB / 3.251 GB, free: 87.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/7.118, allocations: 28.39 kB / 3.251 GB, free: 87.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/7.118, allocations: 26.47 kB / 3.251 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/7.12, allocations: 0.6008 MB / 3.251 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/7.12, allocations: 0 / 3.251 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/7.12, allocations: 11.88 kB / 3.251 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/7.12, allocations: 7.625 kB / 3.251 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/7.121, allocations: 0.5593 MB / 3.252 GB, free: 87.48 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/7.123, allocations: 2.536 MB / 3.254 GB, free: 85.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/7.125, allocations: 456.2 kB / 3.255 GB, free: 85.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09392/7.219, allocations: 51.36 MB / 3.305 GB, free: 55.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/7.219, allocations: 42.44 kB / 3.305 GB, free: 55.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/7.219, allocations: 3.938 kB / 3.305 GB, free: 55.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002626/7.221, allocations: 0.7848 MB / 3.306 GB, free: 55.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/7.221, allocations: 106.7 kB / 3.306 GB, free: 55.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/7.222, allocations: 256.6 kB / 3.306 GB, free: 55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/7.222, allocations: 29.7 kB / 3.306 GB, free: 54.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/7.222, allocations: 218.3 kB / 3.306 GB, free: 54.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/7.222, allocations: 85.61 kB / 3.307 GB, free: 54.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/7.222, allocations: 4 kB / 3.307 GB, free: 54.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/7.222, allocations: 345.6 kB / 3.307 GB, free: 54.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/7.223, allocations: 143.3 kB / 3.307 GB, free: 54.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/7.223, allocations: 258.3 kB / 3.307 GB, free: 54.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/7.223, allocations: 170.5 kB / 3.307 GB, free: 54.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/7.223, allocations: 0 / 3.307 GB, free: 54.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008748/7.224, allocations: 452.5 kB / 3.308 GB, free: 53.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/7.224, allocations: 7.844 kB / 3.308 GB, free: 53.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/7.224, allocations: 11.47 kB / 3.308 GB, free: 53.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/7.224, allocations: 7.562 kB / 3.308 GB, free: 53.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/7.225, allocations: 93.36 kB / 3.308 GB, free: 53.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/7.225, allocations: 7.656 kB / 3.308 GB, free: 53.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/7.225, allocations: 63.67 kB / 3.308 GB, free: 53.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/7.225, allocations: 16.38 kB / 3.308 GB, free: 53.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (SourceP1.medium.phase,SinkP1.medium.phase,Opening.y,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002107/7.225, allocations: 167.6 kB / 3.308 GB, free: 53.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/7.225, allocations: 30.09 kB / 3.308 GB, free: 53.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/7.228, allocations: 1.909 MB / 3.31 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/7.228, allocations: 26.64 kB / 3.31 GB, free: 52.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/7.228, allocations: 0 / 3.31 GB, free: 52.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/7.228, allocations: 7.453 kB / 3.31 GB, free: 52.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/7.229, allocations: 0.9761 MB / 3.311 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/7.229, allocations: 0 / 3.311 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/7.229, allocations: 82.58 kB / 3.311 GB, free: 52.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/7.229, allocations: 7.719 kB / 3.311 GB, free: 52.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/7.229, allocations: 4 kB / 3.311 GB, free: 52.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/7.229, allocations: 3.875 kB / 3.311 GB, free: 52.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/7.229, allocations: 0 / 3.311 GB, free: 52.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/7.23, allocations: 1.072 MB / 3.312 GB, free: 51.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/7.23, allocations: 210.1 kB / 3.312 GB, free: 51.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/7.23, allocations: 11.28 kB / 3.312 GB, free: 51.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/7.231, allocations: 46.59 kB / 3.312 GB, free: 51.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/7.231, allocations: 34.72 kB / 3.313 GB, free: 51.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/7.231, allocations: 15.7 kB / 3.313 GB, free: 51.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002269/7.231, allocations: 260.2 kB / 3.313 GB, free: 51.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.231, allocations: 0 / 3.313 GB, free: 51.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00486/7.236, allocations: 1.007 MB / 3.314 GB, free: 51.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase,Opening.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008532/7.245, allocations: 1.371 MB / 3.315 GB, free: 50.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/7.246, allocations: 0.6054 MB / 3.316 GB, free: 50.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.246, allocations: 0 / 3.316 GB, free: 50.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/7.247, allocations: 0.5141 MB / 3.316 GB, free: 50.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/7.248, allocations: 176.2 kB / 3.316 GB, free: 50.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/7.655, allocations: 77.08 MB / 3.392 GB, free: 80.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/7.655, allocations: 0.9792 MB / 3.393 GB, free: 79.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006539/7.656, allocations: 240.5 kB / 3.393 GB, free: 79.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/7.656, allocations: 42.34 kB / 3.393 GB, free: 79.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/7.656, allocations: 0 / 3.393 GB, free: 79.95 MB / 490.7 MB Notification: Performance of Templates: time 0.04346/7.7, allocations: 30.6 MB / 3.423 GB, free: 79.61 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1)