Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001202/0.001202, allocations: 193.8 kB / 16.13 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.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3013/0.3013, allocations: 37.98 MB / 307.3 MB, free: 10.1 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.1. 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.001694/0.001694, allocations: 67.89 kB / 374.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2189/0.3242, allocations: 29.38 MB / 460.4 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.3439, allocations: 18.36 MB / 478.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008461/0.3448, allocations: 14.16 kB / 478.8 MB, free: 29.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.3457, allocations: 226.3 kB / 479 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.3597, allocations: 3.62 MB / 482.6 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006989/0.3668, allocations: 1.602 MB / 484.2 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.3688, allocations: 1.206 MB / 485.4 MB, free: 26.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.3692, allocations: 247.1 kB / 485.7 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009906/0.3702, allocations: 432.2 kB / 486.1 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004557/0.3748, allocations: 1.867 MB / 488 MB, free: 25.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.375, allocations: 18.91 kB / 488 MB, free: 25.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/0.3902, allocations: 7.392 MB / 495.4 MB, free: 23.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.3905, allocations: 94.09 kB / 495.5 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.3909, allocations: 229.3 kB / 495.7 MB, free: 23.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.4076, allocations: 4.636 MB / 0.4886 GB, free: 21.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4077, allocations: 0 / 0.4886 GB, free: 21.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4077, allocations: 1.094 kB / 0.4886 GB, free: 21.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4077, allocations: 0 / 0.4886 GB, free: 21.93 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.006361/0.4141, allocations: 1.327 MB / 0.4899 GB, free: 21.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4141, allocations: 14.38 kB / 0.4899 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.4163, allocations: 236.7 kB / 0.4901 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.4169, allocations: 397.3 kB / 0.4905 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.417, allocations: 31.73 kB / 0.4905 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.417, allocations: 28 kB / 0.4906 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.4188, allocations: 0.6019 MB / 0.4911 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4188, allocations: 5.25 kB / 0.4912 GB, free: 20.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.4188, allocations: 12.91 kB / 0.4912 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4189, allocations: 6.781 kB / 0.4912 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4206, allocations: 0.5665 MB / 0.4917 GB, free: 20.29 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.003387/0.424, allocations: 2.635 MB / 0.4943 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.4256, allocations: 457.5 kB / 0.4947 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.426, allocations: 197.1 kB / 0.4949 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04648/0.4725, allocations: 24.22 MB / 0.5186 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.4726, allocations: 36.75 kB / 0.5186 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.4726, allocations: 4 kB / 0.5186 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002926/0.4756, allocations: 0.8109 MB / 0.5194 GB, free: 14.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.4756, allocations: 115.6 kB / 0.5195 GB, free: 14.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.4761, allocations: 369.6 kB / 0.5199 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4761, allocations: 32.64 kB / 0.5199 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4763, allocations: 216.7 kB / 0.5201 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.547e-05/0.4764, allocations: 93.53 kB / 0.5202 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4765, allocations: 81.52 kB / 0.5203 GB, free: 14.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4767, allocations: 347.1 kB / 0.5206 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.4771, allocations: 169.6 kB / 0.5208 GB, free: 13.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.4776, allocations: 262.5 kB / 0.521 GB, free: 13.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.4785, allocations: 397.3 kB / 0.5214 GB, free: 13.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4785, allocations: 10.84 kB / 0.5214 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001099/0.4796, allocations: 479.5 kB / 0.5219 GB, free: 12.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4796, allocations: 4.812 kB / 0.5219 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4796, allocations: 3.125 kB / 0.5219 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4797, allocations: 4 kB / 0.5219 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.4801, allocations: 97.73 kB / 0.522 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.4801, allocations: 3.844 kB / 0.522 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.4805, allocations: 77.58 kB / 0.522 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.4806, allocations: 11.84 kB / 0.5221 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005146/0.4811, allocations: 276 kB / 0.5223 GB, free: 12.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004797/0.4816, allocations: 257.5 kB / 0.5226 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008217/0.4824, allocations: 392.2 kB / 0.5229 GB, free: 12.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.4824, allocations: 4 kB / 0.5229 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0011/0.4835, allocations: 478.4 kB / 0.5234 GB, free: 11.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.4836, allocations: 4 kB / 0.5234 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4836, allocations: 4 kB / 0.5234 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-06/0.4836, allocations: 4 kB / 0.5234 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.484, allocations: 99.8 kB / 0.5235 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.484, allocations: 11.98 kB / 0.5235 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4845, allocations: 59.95 kB / 0.5236 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.4845, allocations: 15.98 kB / 0.5236 GB, free: 11.69 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.0002345/0.4848, allocations: 204.1 kB / 0.5238 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4849, allocations: 39.53 kB / 0.5238 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.4875, allocations: 1.972 MB / 0.5258 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/0.4875, allocations: 31.89 kB / 0.5258 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4875, allocations: 0 / 0.5258 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4876, allocations: 0 / 0.5258 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4887, allocations: 1.055 MB / 0.5268 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4887, allocations: 0 / 0.5268 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.489, allocations: 83.88 kB / 0.5269 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.489, allocations: 0 / 0.5269 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.4891, allocations: 11.98 kB / 0.5269 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.4891, allocations: 4 kB / 0.5269 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4891, allocations: 0 / 0.5269 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.4907, allocations: 1.129 MB / 0.528 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.491, allocations: 211.7 kB / 0.5282 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.06e-05/0.4911, allocations: 31.69 kB / 0.5282 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.4915, allocations: 31.97 kB / 0.5283 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.4916, allocations: 31.95 kB / 0.5283 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.4916, allocations: 19.98 kB / 0.5283 GB, free: 6.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004162/0.492, allocations: 370.8 kB / 0.5287 GB, free: 6.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.492, allocations: 3.938 kB / 0.5287 GB, free: 6.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006021/0.498, allocations: 1.148 MB / 0.5298 GB, free: 5.23 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.009539/0.5076, allocations: 1.258 MB / 0.531 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.5097, allocations: 0.8548 MB / 0.5319 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.5097, allocations: 0 / 0.5319 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.5105, allocations: 0.5338 MB / 0.5324 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.512, allocations: 233.6 kB / 0.5326 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.5148, allocations: 1.955 MB / 0.5345 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.5154, allocations: 0.9794 MB / 0.5355 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000938/0.5163, allocations: 0.6027 MB / 0.5361 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.5165, allocations: 51.42 kB / 0.5361 GB, free: 14.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5165, allocations: 0 / 0.5361 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Templates: time 0.05461/0.5711, allocations: 40.87 MB / 0.576 GB, free: 5.836 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)