Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009056, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006774/0.006774, allocations: 172.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3554/0.3554, allocations: 40 MB / 310.7 MB, free: 9.836 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005728/0.0005729, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1284, allocations: 57.97 MB / 437.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.2709/0.3993, allocations: 60.52 MB / 497.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.4114, allocations: 7.836 MB / 0.4939 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.4138, allocations: 45.34 kB / 0.494 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.4153, allocations: 434.6 kB / 0.4944 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009097/0.4244, allocations: 3.415 MB / 0.4977 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005392/0.4298, allocations: 1.991 MB / 0.4997 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006493/0.4363, allocations: 3.706 MB / 0.5033 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.4384, allocations: 0.817 MB / 0.5041 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008547/0.447, allocations: 4.688 MB / 0.5087 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005059/0.4521, allocations: 2.844 MB / 0.5114 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.4526, allocations: 56.41 kB / 0.5115 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00749/0.4601, allocations: 3.625 MB / 0.515 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006615/0.4608, allocations: 289 kB / 0.5153 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.4625, allocations: 0.6537 MB / 0.5159 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.4686, allocations: 2.706 MB / 0.5186 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4686, allocations: 5.094 kB / 0.5186 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4686, allocations: 0 / 0.5186 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.618e-05/0.4687, allocations: 0 / 0.5186 GB, free: 1.738 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004174/0.4729, allocations: 1.632 MB / 0.5202 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4729, allocations: 9.625 kB / 0.5202 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.476, allocations: 320.4 kB / 0.5205 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.4778, allocations: 0.7882 MB / 0.5213 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.4779, allocations: 67.38 kB / 0.5213 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.4782, allocations: 86.41 kB / 0.5214 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.4817, allocations: 1.232 MB / 0.5226 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.4817, allocations: 0 / 0.5226 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.4819, allocations: 40.19 kB / 0.5227 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.4819, allocations: 21.78 kB / 0.5227 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.4847, allocations: 1.032 MB / 0.5237 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007093/0.4918, allocations: 5.428 MB / 0.529 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.494, allocations: 0.6723 MB / 0.5296 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.4947, allocations: 367.8 kB / 0.53 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/0.4968, allocations: 2.595 MB / 0.5325 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.4968, allocations: 51.06 kB / 0.5326 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007938/0.4976, allocations: 110.9 kB / 0.5327 GB, free: 5.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 4.318e-06/0.4977, allocations: 0 / 0.5327 GB, free: 5.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.006573/0.5042, allocations: 1.721 MB / 0.5344 GB, free: 3.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5044, allocations: 192.5 kB / 0.5345 GB, free: 3.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.506, allocations: 0.9774 MB / 0.5355 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.5062, allocations: 41.7 kB / 0.5355 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.5067, allocations: 0.4959 MB / 0.536 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.5069, allocations: 228.7 kB / 0.5362 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.5071, allocations: 69.69 kB / 0.5363 GB, free: 1.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5072, allocations: 341.9 kB / 0.5366 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.5081, allocations: 373.8 kB / 0.537 GB, free: 1.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5092, allocations: 0.5768 MB / 0.5376 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.511, allocations: 0.9162 MB / 0.5384 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.511, allocations: 4 kB / 0.5385 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002747/0.5138, allocations: 1.215 MB / 0.5396 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.514, allocations: 233.4 kB / 0.5399 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.514, allocations: 8 kB / 0.5399 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/0.5203, allocations: 0.8201 MB / 0.5407 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.5215, allocations: 267.6 kB / 0.5409 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.5226, allocations: 0.7825 MB / 0.5417 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5241, allocations: 91.83 kB / 0.5418 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.5243, allocations: 87.95 kB / 0.5419 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5244, allocations: 4 kB / 0.5419 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002524/0.5269, allocations: 1.019 MB / 0.5429 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5269, allocations: 8.438 kB / 0.5429 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.5273, allocations: 88.72 kB / 0.543 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/0.5282, allocations: 275.7 kB / 0.5432 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.5301, allocations: 1.647 MB / 0.5448 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5312, allocations: 87.94 kB / 0.5449 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5314, allocations: 79.95 kB / 0.545 GB, free: 8.625 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007002/0.5321, allocations: 316.9 kB / 0.5453 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.5325, allocations: 126.5 kB / 0.5454 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.5367, allocations: 1.835 MB / 0.5472 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5368, allocations: 4 kB / 0.5472 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5368, allocations: 3.938 kB / 0.5472 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5368, allocations: 7.984 kB / 0.5472 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.5403, allocations: 1.869 MB / 0.549 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5403, allocations: 0 / 0.549 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.5408, allocations: 136 kB / 0.5492 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/0.544, allocations: 0.6291 MB / 0.5498 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.5441, allocations: 27.92 kB / 0.5498 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000891/0.545, allocations: 0.8216 MB / 0.5506 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.545, allocations: 0 / 0.5506 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.5471, allocations: 1.042 MB / 0.5516 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/0.548, allocations: 339.2 kB / 0.552 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.5484, allocations: 15.94 kB / 0.552 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.5493, allocations: 71.94 kB / 0.552 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5495, allocations: 56.42 kB / 0.5521 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5496, allocations: 47.97 kB / 0.5521 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.5508, allocations: 0.7456 MB / 0.5529 GB, free: 348 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5508, allocations: 0 / 0.5529 GB, free: 348 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003186/0.554, allocations: 0.8508 MB / 0.5537 GB, free: 15.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/0.5565, allocations: 0.6425 MB / 0.5543 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.5604, allocations: 1.516 MB / 0.5558 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.5604, allocations: 4 kB / 0.5558 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5615, allocations: 414.3 kB / 0.5562 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/0.5651, allocations: 0.5547 MB / 0.5567 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.569, allocations: 2.304 MB / 0.559 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.5698, allocations: 1.072 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002028/0.5718, allocations: 465.8 kB / 0.5605 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.5723, allocations: 131.4 kB / 0.5606 GB, free: 8.34 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5723, allocations: 0 / 0.5606 GB, free: 8.34 MB / 430.1 MB Notification: Performance of Templates: time 0.0489/0.6212, allocations: 29.23 MB / 0.5892 GB, free: 11.11 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) Environment - environmentSimulation: