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.001674/0.001674, allocations: 182 kB / 12.74 MB, free: 2.582 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.684/1.684, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001669/0.00167, allocations: 113.3 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2058/0.2058, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.985e-05, allocations: 7.984 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.0859, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.618/6.704, allocations: 2.588 GB / 3.032 GB, free: 77.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/6.704, allocations: 82.86 kB / 3.032 GB, free: 77.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8037/7.508, allocations: 215.4 MB / 3.243 GB, free: 66.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/7.508, allocations: 0 / 3.243 GB, free: 66.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/7.508, allocations: 12 kB / 3.243 GB, free: 66.35 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.005075/7.513, allocations: 1.163 MB / 3.244 GB, free: 65.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/7.513, allocations: 8.031 kB / 3.244 GB, free: 65.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/7.515, allocations: 223.2 kB / 3.244 GB, free: 64.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/7.515, allocations: 391.4 kB / 3.244 GB, free: 64.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/7.515, allocations: 33.23 kB / 3.244 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/7.515, allocations: 24.34 kB / 3.244 GB, free: 64.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/7.516, allocations: 0.5805 MB / 3.245 GB, free: 63.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/7.516, allocations: 0 / 3.245 GB, free: 63.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/7.517, allocations: 16 kB / 3.245 GB, free: 63.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/7.517, allocations: 11.56 kB / 3.245 GB, free: 63.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/7.518, allocations: 493.7 kB / 3.245 GB, free: 63.33 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002362/7.52, allocations: 2.531 MB / 3.248 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/7.521, allocations: 418.1 kB / 3.248 GB, free: 60.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/7.521, allocations: 124.8 kB / 3.248 GB, free: 60.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09666/7.618, allocations: 51.64 MB / 3.299 GB, free: 3.035 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/7.618, allocations: 34.56 kB / 3.299 GB, free: 2.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.386e-06/7.618, allocations: 3.938 kB / 3.299 GB, free: 2.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002068/7.62, allocations: 0.614 MB / 3.299 GB, free: 2.367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/7.62, allocations: 110.8 kB / 3.3 GB, free: 2.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/7.62, allocations: 250.6 kB / 3.3 GB, free: 1.977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/7.621, allocations: 33.7 kB / 3.3 GB, free: 1.938 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/7.621, allocations: 211.7 kB / 3.3 GB, free: 1.727 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/7.621, allocations: 85.48 kB / 3.3 GB, free: 1.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/7.621, allocations: 8 kB / 3.3 GB, free: 1.637 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/7.621, allocations: 346.8 kB / 3.3 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/7.621, allocations: 92.64 kB / 3.301 GB, free: 1.195 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/7.621, allocations: 208.7 kB / 3.301 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/7.621, allocations: 128 kB / 3.301 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/7.621, allocations: 0 / 3.301 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005057/7.622, allocations: 349 kB / 3.301 GB, free: 476 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/7.622, allocations: 8 kB / 3.301 GB, free: 468 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.622, allocations: 4 kB / 3.301 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/7.622, allocations: 4 kB / 3.301 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/7.622, allocations: 103.8 kB / 3.301 GB, free: 356 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/7.622, allocations: 4.281 kB / 3.301 GB, free: 352 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/7.623, allocations: 63.66 kB / 3.301 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/7.623, allocations: 16 kB / 3.301 GB, free: 272 kB / 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 () * 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 9.859e-05/7.623, allocations: 140.8 kB / 3.302 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/7.623, allocations: 35.56 kB / 3.302 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3106/7.934, allocations: 1.839 MB / 3.303 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/7.934, allocations: 29.19 kB / 3.303 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/7.934, allocations: 0 / 3.303 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/7.934, allocations: 4.688 kB / 3.303 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/7.935, allocations: 0.9736 MB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/7.935, allocations: 3.781 kB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/7.935, allocations: 83.91 kB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/7.935, allocations: 1.281 kB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/7.935, allocations: 8.156 kB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/7.935, allocations: 1.828 kB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.935, allocations: 1.156 kB / 3.304 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/7.937, allocations: 0.978 MB / 3.305 GB, free: 91.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/7.937, allocations: 204.1 kB / 3.306 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/7.937, allocations: 9.062 kB / 3.306 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/7.937, allocations: 44.86 kB / 3.306 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/7.937, allocations: 35.34 kB / 3.306 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/7.937, allocations: 7.547 kB / 3.306 GB, free: 91.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003419/7.938, allocations: 257.8 kB / 3.306 GB, free: 90.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/7.938, allocations: 2.078 kB / 3.306 GB, free: 90.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005181/7.943, allocations: 1.008 MB / 3.307 GB, free: 90.95 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 () * 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.008218/7.951, allocations: 1.373 MB / 3.308 GB, free: 90.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/7.952, allocations: 0.5003 MB / 3.309 GB, free: 90.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/7.952, allocations: 0 / 3.309 GB, free: 90.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/7.953, allocations: 478.3 kB / 3.309 GB, free: 90.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/7.954, allocations: 178.8 kB / 3.309 GB, free: 90.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1401/8.094, allocations: 76.27 MB / 3.384 GB, free: 87.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/8.095, allocations: 0.9741 MB / 3.385 GB, free: 86.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005301/8.095, allocations: 244.7 kB / 3.385 GB, free: 86.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/8.095, allocations: 38.53 kB / 3.385 GB, free: 86.35 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/8.095, allocations: 4 kB / 3.385 GB, free: 86.34 MB / 490.7 MB Notification: Performance of Templates: time 0.04024/8.136, allocations: 31.86 MB / 3.416 GB, free: 70.29 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)