Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, 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.002197/0.002197, 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.488/1.488, allocations: 205.1 MB / 222 MB, free: 4.777 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.3297/0.3297, allocations: 39.93 MB / 309.3 MB, free: 9.633 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.001314/0.001314, allocations: 70.39 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 56.88 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2713/0.4202, allocations: 29 MB / 462.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.4344, allocations: 14.27 MB / 477.1 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/0.435, allocations: 10.38 kB / 477.1 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008044/0.4358, allocations: 226.8 kB / 477.3 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009638/0.4455, allocations: 2.908 MB / 480.2 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.4522, allocations: 1.978 MB / 482.2 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.4537, allocations: 1.138 MB / 483.3 MB, free: 26.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.454, allocations: 216.4 kB / 483.5 MB, free: 26.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007397/0.4548, allocations: 394.4 kB / 483.9 MB, free: 26.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.4551, allocations: 279.8 kB / 484.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.4551, allocations: 18.84 kB / 484.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.4684, allocations: 7.112 MB / 491.3 MB, free: 24.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.4687, allocations: 82.17 kB / 491.4 MB, free: 24.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.4691, allocations: 211.2 kB / 491.6 MB, free: 24.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4824, allocations: 4.408 MB / 496 MB, free: 23.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4824, allocations: 1.406 kB / 496 MB, free: 23.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4824, allocations: 0 / 496 MB, free: 23.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4824, allocations: 0 / 496 MB, free: 23.25 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005059/0.4875, allocations: 1.236 MB / 497.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4876, allocations: 13.72 kB / 497.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.4893, allocations: 218.3 kB / 497.5 MB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.4898, allocations: 357.2 kB / 497.8 MB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.4898, allocations: 26.06 kB / 497.9 MB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.4899, allocations: 36.42 kB / 497.9 MB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.4915, allocations: 0.589 MB / 498.5 MB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4915, allocations: 5.188 kB / 498.5 MB, free: 21.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.4916, allocations: 16.62 kB / 498.5 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.4916, allocations: 7.094 kB / 498.5 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.4934, allocations: 0.5472 MB / 499.1 MB, free: 21.69 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.003483/0.4968, allocations: 2.624 MB / 0.4899 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.4987, allocations: 468.7 kB / 0.4904 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.4993, allocations: 200 kB / 0.4906 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0456/0.5449, allocations: 24.21 MB / 0.5142 GB, free: 17.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5449, allocations: 35.62 kB / 0.5142 GB, free: 16.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.544e-06/0.545, allocations: 0 / 0.5142 GB, free: 16.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002855/0.5478, allocations: 0.8247 MB / 0.5151 GB, free: 16.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.5479, allocations: 109.5 kB / 0.5152 GB, free: 16.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.5484, allocations: 310.5 kB / 0.5155 GB, free: 16.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.5484, allocations: 32.45 kB / 0.5155 GB, free: 16.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5485, allocations: 202.1 kB / 0.5157 GB, free: 16.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.5486, allocations: 85.83 kB / 0.5158 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5487, allocations: 69.09 kB / 0.5158 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5488, allocations: 351 kB / 0.5162 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.5493, allocations: 139.8 kB / 0.5163 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.5497, allocations: 245.4 kB / 0.5165 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/0.5507, allocations: 377.4 kB / 0.5169 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.5507, allocations: 5.219 kB / 0.5169 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001068/0.5517, allocations: 448.3 kB / 0.5173 GB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5518, allocations: 10.72 kB / 0.5173 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5518, allocations: 3.25 kB / 0.5173 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5518, allocations: 4.125 kB / 0.5173 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.5522, allocations: 89.69 kB / 0.5174 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5522, allocations: 4.125 kB / 0.5174 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.5526, allocations: 62.27 kB / 0.5175 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.5526, allocations: 15 kB / 0.5175 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001901/0.5528, allocations: 166.3 kB / 0.5177 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.5529, allocations: 38.41 kB / 0.5177 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.5556, allocations: 1.912 MB / 0.5196 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/0.5557, allocations: 38.62 kB / 0.5196 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5557, allocations: 4 kB / 0.5196 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5557, allocations: 0 / 0.5196 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.5569, allocations: 1.014 MB / 0.5206 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5569, allocations: 0 / 0.5206 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.5572, allocations: 78.05 kB / 0.5207 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5572, allocations: 2.25 kB / 0.5207 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5573, allocations: 9.438 kB / 0.5207 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.5573, allocations: 5.781 kB / 0.5207 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5573, allocations: 4 kB / 0.5207 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.5589, allocations: 1.098 MB / 0.5218 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.559, allocations: 162.6 kB / 0.5219 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.5591, allocations: 30.27 kB / 0.5219 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.5594, allocations: 42.94 kB / 0.522 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5595, allocations: 34.66 kB / 0.522 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.5596, allocations: 13.19 kB / 0.522 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.56, allocations: 325.2 kB / 0.5223 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.56, allocations: 0 / 0.5223 GB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00581/0.5658, allocations: 0.9912 MB / 0.5233 GB, free: 10.73 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,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.006378/0.5722, allocations: 1.184 MB / 0.5245 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.5736, allocations: 0.6026 MB / 0.5251 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5736, allocations: 0 / 0.5251 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.5743, allocations: 0.5221 MB / 0.5256 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5756, allocations: 217.4 kB / 0.5258 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.578, allocations: 1.848 MB / 0.5276 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.5785, allocations: 0.9716 MB / 0.5285 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.579, allocations: 282.5 kB / 0.5288 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5791, allocations: 43.44 kB / 0.5288 GB, free: 5.031 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5791, allocations: 0 / 0.5288 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Templates: time 0.05124/0.6304, allocations: 38.92 MB / 0.5668 GB, free: 14.1 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)