Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 98.03 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.005119/0.00512, allocations: 168.9 kB / 16.26 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.393/1.393, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.2974/0.2974, allocations: 38.04 MB / 308.8 MB, free: 10.27 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.0005593/0.0005591, allocations: 24 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.2264/0.3297, allocations: 28.78 MB / 463.4 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.349, allocations: 18.03 MB / 481.4 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006802/0.3497, allocations: 13.97 kB / 481.4 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007506/0.3505, allocations: 223.6 kB / 481.6 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008886/0.3594, allocations: 3.039 MB / 484.7 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.3667, allocations: 2.12 MB / 486.8 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3682, allocations: 1.231 MB / 488 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.3688, allocations: 246.3 kB / 488.2 MB, free: 26.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.3698, allocations: 429.5 kB / 488.7 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.3704, allocations: 300.6 kB / 489 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.3705, allocations: 15.81 kB / 489 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.3834, allocations: 7.281 MB / 496.3 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.3837, allocations: 100.7 kB / 496.4 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.3841, allocations: 263.6 kB / 496.6 MB, free: 24.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.3966, allocations: 4.549 MB / 0.4894 GB, free: 22.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3966, allocations: 0 / 0.4894 GB, free: 22.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3966, allocations: 1.062 kB / 0.4894 GB, free: 22.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.3966, allocations: 0 / 0.4894 GB, free: 22.91 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005459/0.4021, allocations: 1.239 MB / 0.4906 GB, free: 22.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4022, allocations: 9.688 kB / 0.4906 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.4045, allocations: 240 kB / 0.4909 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.4054, allocations: 388 kB / 0.4912 GB, free: 21.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.4055, allocations: 36.28 kB / 0.4913 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4056, allocations: 30.62 kB / 0.4913 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.4076, allocations: 0.6421 MB / 0.4919 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4077, allocations: 4.734 kB / 0.4919 GB, free: 21.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.4077, allocations: 13.28 kB / 0.4919 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4078, allocations: 12.36 kB / 0.492 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.4095, allocations: 0.5943 MB / 0.4925 GB, free: 21.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.003777/0.4133, allocations: 2.764 MB / 0.4952 GB, free: 19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.4153, allocations: 0.5846 MB / 0.4958 GB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.4157, allocations: 198.1 kB / 0.496 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04572/0.4615, allocations: 24.43 MB / 0.5198 GB, free: 16.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.4615, allocations: 35.97 kB / 0.5199 GB, free: 16.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/0.4615, allocations: 1.344 kB / 0.5199 GB, free: 16.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002843/0.4644, allocations: 0.8559 MB / 0.5207 GB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.4645, allocations: 110.1 kB / 0.5208 GB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.465, allocations: 394.7 kB / 0.5212 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.4651, allocations: 37.67 kB / 0.5212 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.4653, allocations: 230 kB / 0.5215 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.4654, allocations: 86.03 kB / 0.5215 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.4655, allocations: 37.55 kB / 0.5216 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4656, allocations: 355 kB / 0.5219 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.466, allocations: 172.9 kB / 0.5221 GB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.4665, allocations: 292.6 kB / 0.5224 GB, free: 14.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/0.4672, allocations: 449.9 kB / 0.5228 GB, free: 14.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4672, allocations: 0 / 0.5228 GB, free: 14.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001031/0.4683, allocations: 0.506 MB / 0.5233 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.4684, allocations: 205.6 kB / 0.5235 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4684, allocations: 4.812 kB / 0.5235 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4684, allocations: 9.781 kB / 0.5235 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.4688, allocations: 101.1 kB / 0.5236 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4688, allocations: 9.094 kB / 0.5236 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.4693, allocations: 81.14 kB / 0.5237 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.4694, allocations: 21.72 kB / 0.5237 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.4694, allocations: 2.969 kB / 0.5237 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009094/0.4703, allocations: 447.8 kB / 0.5241 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4703, allocations: 7.359 kB / 0.5241 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.4703, allocations: 3.625 kB / 0.5241 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.4707, allocations: 108.6 kB / 0.5242 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4707, allocations: 6.062 kB / 0.5242 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.4711, allocations: 67.44 kB / 0.5243 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.4712, allocations: 24.45 kB / 0.5243 GB, free: 13.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,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 (44): * Single equations (assignments): 44 * 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.0002942/0.4715, allocations: 243.9 kB / 0.5246 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4716, allocations: 47.56 kB / 0.5246 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.474, allocations: 1.975 MB / 0.5265 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.4741, allocations: 31.94 kB / 0.5266 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4741, allocations: 4 kB / 0.5266 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4741, allocations: 3.938 kB / 0.5266 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4752, allocations: 1.073 MB / 0.5276 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.4753, allocations: 4 kB / 0.5276 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.4756, allocations: 87.88 kB / 0.5277 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4756, allocations: 0 / 0.5277 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.4756, allocations: 11.98 kB / 0.5277 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4756, allocations: 0 / 0.5277 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4757, allocations: 11.98 kB / 0.5277 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.4771, allocations: 1.139 MB / 0.5288 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.4775, allocations: 275.3 kB / 0.5291 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.4776, allocations: 4 kB / 0.5291 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.478, allocations: 43.88 kB / 0.5292 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.4781, allocations: 39.88 kB / 0.5292 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.4781, allocations: 12 kB / 0.5292 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00047/0.4786, allocations: 382.8 kB / 0.5296 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4786, allocations: 0 / 0.5296 GB, free: 8.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005685/0.4843, allocations: 1.128 MB / 0.5307 GB, free: 7.207 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 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.007838/0.4922, allocations: 1.214 MB / 0.5319 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.494, allocations: 0.8854 MB / 0.5327 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.494, allocations: 4 kB / 0.5327 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.4946, allocations: 0.5294 MB / 0.5332 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4961, allocations: 231.9 kB / 0.5335 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.4986, allocations: 2.046 MB / 0.5355 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.499, allocations: 0.9874 MB / 0.5364 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008566/0.4999, allocations: 0.6121 MB / 0.537 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.5, allocations: 47.42 kB / 0.5371 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5, allocations: 3.938 kB / 0.5371 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of Templates: time 0.05687/0.5569, allocations: 40.39 MB / 0.5765 GB, free: 8.195 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) Environment - environmentSimulation: