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.0007682/0.0007682, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005347/0.005347, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.344/0.344, allocations: 40 MB / 310.7 MB, free: 9.59 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.0005869/0.0005868, allocations: 20.56 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1272, allocations: 57.95 MB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2901/0.4174, allocations: 28.3 MB / 465.7 MB, free: 35.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.4333, allocations: 14.04 MB / 479.8 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.4338, allocations: 10.91 kB / 479.8 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.4346, allocations: 218.6 kB / 480 MB, free: 29.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.445, allocations: 2.924 MB / 482.9 MB, free: 28.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.452, allocations: 1.967 MB / 484.9 MB, free: 27.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.4534, allocations: 1.14 MB / 486 MB, free: 26.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.4538, allocations: 212.7 kB / 486.2 MB, free: 26.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00081/0.4546, allocations: 396.9 kB / 486.6 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.455, allocations: 267.5 kB / 486.9 MB, free: 26.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.455, allocations: 15.75 kB / 486.9 MB, free: 26.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01574/0.4707, allocations: 7.112 MB / 494 MB, free: 24.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.4711, allocations: 86.19 kB / 494.1 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.4716, allocations: 233.6 kB / 494.3 MB, free: 24.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01691/0.4885, allocations: 4.375 MB / 498.7 MB, free: 23.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4885, allocations: 0 / 498.7 MB, free: 23.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4886, allocations: 0 / 498.7 MB, free: 23.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4886, allocations: 1.25 kB / 498.7 MB, free: 23.19 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.006667/0.4953, allocations: 1.179 MB / 499.9 MB, free: 22.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.4953, allocations: 9.938 kB / 499.9 MB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.4985, allocations: 217.9 kB / 0.4884 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000966/0.4995, allocations: 365.2 kB / 0.4887 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/0.4996, allocations: 23.55 kB / 0.4887 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.4997, allocations: 35.38 kB / 0.4888 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.5025, allocations: 0.6175 MB / 0.4894 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.5025, allocations: 5.344 kB / 0.4894 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.5026, allocations: 12.34 kB / 0.4894 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5026, allocations: 7.25 kB / 0.4894 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.5054, allocations: 0.595 MB / 0.49 GB, free: 21.66 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.004995/0.5104, allocations: 2.641 MB / 0.4926 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.5131, allocations: 0.5024 MB / 0.493 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.5139, allocations: 220.3 kB / 0.4933 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05928/0.5732, allocations: 24.42 MB / 0.5171 GB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.5733, allocations: 37.34 kB / 0.5171 GB, free: 16.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.806e-06/0.5733, allocations: 0 / 0.5171 GB, free: 16.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.003355/0.5766, allocations: 0.8892 MB / 0.518 GB, free: 16.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.5768, allocations: 117.6 kB / 0.5181 GB, free: 16.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.5772, allocations: 310.9 kB / 0.5184 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.5773, allocations: 26.98 kB / 0.5184 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.5775, allocations: 211.5 kB / 0.5186 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/0.5776, allocations: 81.39 kB / 0.5187 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.5776, allocations: 35.08 kB / 0.5187 GB, free: 15.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5778, allocations: 345.7 kB / 0.5191 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.5783, allocations: 166.3 kB / 0.5192 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.5788, allocations: 261.2 kB / 0.5195 GB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.5798, allocations: 421 kB / 0.5199 GB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5798, allocations: 3.406 kB / 0.5199 GB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001254/0.581, allocations: 478.9 kB / 0.5203 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.5811, allocations: 3.844 kB / 0.5204 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5811, allocations: 7.812 kB / 0.5204 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5811, allocations: 5 kB / 0.5204 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.5815, allocations: 103.7 kB / 0.5205 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5815, allocations: 14.16 kB / 0.5205 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.582, allocations: 62.78 kB / 0.5205 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.582, allocations: 17.86 kB / 0.5206 GB, free: 14.4 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.0002593/0.5823, allocations: 165.1 kB / 0.5207 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.5824, allocations: 35.75 kB / 0.5207 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.5851, allocations: 1.958 MB / 0.5227 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.5852, allocations: 30.61 kB / 0.5227 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5852, allocations: 6.312 kB / 0.5227 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5852, allocations: 3.984 kB / 0.5227 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5864, allocations: 1.014 MB / 0.5237 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5864, allocations: 0.5625 kB / 0.5237 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.5868, allocations: 95.98 kB / 0.5238 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5868, allocations: 1.781 kB / 0.5238 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5868, allocations: 7.562 kB / 0.5238 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.5868, allocations: 8.875 kB / 0.5238 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5868, allocations: 0 / 0.5238 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.5886, allocations: 1.139 MB / 0.5249 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.589, allocations: 223.4 kB / 0.5251 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.589, allocations: 4 kB / 0.5251 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.5894, allocations: 55.83 kB / 0.5252 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.5895, allocations: 31.95 kB / 0.5252 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.5896, allocations: 15.98 kB / 0.5252 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.59, allocations: 331.1 kB / 0.5255 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.59, allocations: 0 / 0.5255 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006078/0.5961, allocations: 0.9954 MB / 0.5265 GB, free: 9.824 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.008962/0.6051, allocations: 1.171 MB / 0.5277 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.6068, allocations: 0.6499 MB / 0.5283 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.6069, allocations: 0 / 0.5283 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.608, allocations: 0.5334 MB / 0.5288 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.61, allocations: 202.8 kB / 0.529 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.6139, allocations: 1.898 MB / 0.5309 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.615, allocations: 0.9599 MB / 0.5318 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008409/0.6158, allocations: 278.6 kB / 0.5321 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.616, allocations: 43.44 kB / 0.5321 GB, free: 4.059 MB / 398.1 MB Notification: Performance of SimCode: time 1.412e-06/0.616, allocations: 4 kB / 0.5321 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Templates: time 0.08473/0.7008, allocations: 38.86 MB / 0.5701 GB, free: 13.19 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: