Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007419/0.0007419, allocations: 97.33 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.004632/0.004632, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.635/1.635, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3649/0.3649, allocations: 40 MB / 310.7 MB, free: 9.555 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.0006552/0.0006552, allocations: 16 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1325, allocations: 57.96 MB / 437.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2853/0.4178, allocations: 28.68 MB / 466.1 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02449/0.4424, allocations: 18.04 MB / 484.1 MB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009703/0.4434, allocations: 14 kB / 484.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.4445, allocations: 219.5 kB / 484.4 MB, free: 26.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.4593, allocations: 3.626 MB / 488 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006639/0.466, allocations: 1.593 MB / 489.6 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.4677, allocations: 1.209 MB / 490.8 MB, free: 23.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006509/0.4684, allocations: 238.2 kB / 491 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.4697, allocations: 440.2 kB / 491.5 MB, free: 23.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.4737, allocations: 1.849 MB / 493.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.4738, allocations: 19.12 kB / 493.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01743/0.4912, allocations: 7.395 MB / 0.489 GB, free: 20.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.4916, allocations: 97.42 kB / 0.4891 GB, free: 20.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007859/0.4925, allocations: 247.5 kB / 0.4893 GB, free: 20.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02061/0.5131, allocations: 4.605 MB / 0.4938 GB, free: 19.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5131, allocations: 0 / 0.4938 GB, free: 19.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.5132, allocations: 0 / 0.4938 GB, free: 19.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.5132, allocations: 0 / 0.4938 GB, free: 19.14 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.008244/0.5215, allocations: 1.241 MB / 0.495 GB, free: 18.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.5215, allocations: 8.75 kB / 0.495 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.524, allocations: 249.5 kB / 0.4953 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.525, allocations: 396.7 kB / 0.4957 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.525, allocations: 31.59 kB / 0.4957 GB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5252, allocations: 31.59 kB / 0.4957 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.5272, allocations: 0.6288 MB / 0.4963 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5273, allocations: 1.219 kB / 0.4963 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.5273, allocations: 16.59 kB / 0.4963 GB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.5274, allocations: 12.44 kB / 0.4964 GB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5293, allocations: 0.6013 MB / 0.4969 GB, free: 17.54 MB / 382.1 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.00402/0.5333, allocations: 2.662 MB / 0.4995 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.535, allocations: 496.1 kB / 0.5 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.5355, allocations: 213 kB / 0.5002 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05392/0.5895, allocations: 24.42 MB / 0.5241 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.5896, allocations: 37.72 kB / 0.5241 GB, free: 11.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.544e-06/0.5896, allocations: 0 / 0.5241 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00322/0.5928, allocations: 0.8759 MB / 0.525 GB, free: 11.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.5929, allocations: 113.1 kB / 0.5251 GB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.5935, allocations: 375.8 kB / 0.5254 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.5936, allocations: 29.7 kB / 0.5255 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.5938, allocations: 216.2 kB / 0.5257 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.5939, allocations: 89.17 kB / 0.5257 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.594, allocations: 36.05 kB / 0.5258 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5941, allocations: 346.9 kB / 0.5261 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.5946, allocations: 175.3 kB / 0.5263 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.5951, allocations: 287.6 kB / 0.5266 GB, free: 9.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.5961, allocations: 422 kB / 0.527 GB, free: 9.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5961, allocations: 7.875 kB / 0.527 GB, free: 9.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001225/0.5973, allocations: 0.5009 MB / 0.5275 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.5975, allocations: 163.5 kB / 0.5276 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5975, allocations: 4 kB / 0.5276 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.5975, allocations: 8 kB / 0.5276 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.598, allocations: 103.9 kB / 0.5277 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.598, allocations: 4.938 kB / 0.5277 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.5986, allocations: 79.55 kB / 0.5278 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.5986, allocations: 23.98 kB / 0.5278 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5986, allocations: 7.938 kB / 0.5278 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/0.5997, allocations: 443.8 kB / 0.5283 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5997, allocations: 4 kB / 0.5283 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.5997, allocations: 4.219 kB / 0.5283 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.6001, allocations: 115 kB / 0.5284 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.6001, allocations: 4 kB / 0.5284 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.6006, allocations: 67.66 kB / 0.5284 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.6007, allocations: 19.98 kB / 0.5285 GB, free: 7.695 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.601, allocations: 248.8 kB / 0.5287 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6011, allocations: 43.47 kB / 0.5287 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.6039, allocations: 2.002 MB / 0.5307 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.604, allocations: 35.94 kB / 0.5307 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.604, allocations: 4 kB / 0.5307 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.604, allocations: 0 / 0.5307 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.6053, allocations: 1.055 MB / 0.5318 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6053, allocations: 7.875 kB / 0.5318 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.6056, allocations: 87.88 kB / 0.5319 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.6057, allocations: 0 / 0.5319 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.6057, allocations: 12 kB / 0.5319 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.6057, allocations: 5.562 kB / 0.5319 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6057, allocations: 3.984 kB / 0.5319 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.6074, allocations: 1.152 MB / 0.533 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.6078, allocations: 267.4 kB / 0.5333 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.6079, allocations: 4 kB / 0.5333 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.6083, allocations: 43.97 kB / 0.5333 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.6084, allocations: 39.88 kB / 0.5333 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6084, allocations: 12 kB / 0.5333 GB, free: 2.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004986/0.6089, allocations: 378.8 kB / 0.5337 GB, free: 2.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.609, allocations: 4 kB / 0.5337 GB, free: 2.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006849/0.6158, allocations: 1.155 MB / 0.5348 GB, free: 1.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01134/0.6272, allocations: 1.251 MB / 0.5361 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.6296, allocations: 0.8969 MB / 0.5369 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.6297, allocations: 0 / 0.5369 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.6306, allocations: 0.541 MB / 0.5375 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6323, allocations: 228.2 kB / 0.5377 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.6352, allocations: 1.996 MB / 0.5396 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.6359, allocations: 0.9833 MB / 0.5406 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.6369, allocations: 0.6017 MB / 0.5412 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.6371, allocations: 51.42 kB / 0.5412 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6371, allocations: 3.938 kB / 0.5412 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.07035/0.7075, allocations: 40.79 MB / 0.5811 GB, free: 1.656 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) Environment - environmentSimulation: