Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001315/0.001315, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3172/0.3172, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0005874/0.0005874, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1356, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.2456/0.3812, allocations: 24.25 MB / 458.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3984, allocations: 14.79 MB / 473 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007266/0.3991, allocations: 13.97 kB / 473 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4002, allocations: 260.2 kB / 473.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00981/0.41, allocations: 2.957 MB / 476.2 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.4202, allocations: 3.087 MB / 479.3 MB, free: 31.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.4214, allocations: 0.6169 MB / 479.9 MB, free: 31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.4218, allocations: 244.4 kB / 480.1 MB, free: 30.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.4226, allocations: 430.2 kB / 480.6 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.4229, allocations: 228.3 kB / 480.8 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.4229, allocations: 15.62 kB / 480.8 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.4388, allocations: 7.178 MB / 488 MB, free: 29.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.4391, allocations: 87.36 kB / 488.1 MB, free: 29.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.4394, allocations: 117.2 kB / 488.2 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008123/0.4475, allocations: 3.068 MB / 491.2 MB, free: 28.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4475, allocations: 3.094 kB / 491.2 MB, free: 28.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4475, allocations: 3.938 kB / 491.3 MB, free: 28.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.4476, allocations: 0 / 491.3 MB, free: 28.41 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004528/0.4521, allocations: 1.269 MB / 492.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4522, allocations: 12.7 kB / 492.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.454, allocations: 242.9 kB / 492.8 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.4545, allocations: 376.9 kB / 493.1 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.4546, allocations: 30.75 kB / 493.2 MB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.4546, allocations: 41.38 kB / 493.2 MB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.4564, allocations: 0.6693 MB / 493.9 MB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4564, allocations: 7.094 kB / 493.9 MB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.4565, allocations: 18.83 kB / 493.9 MB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.4565, allocations: 9.938 kB / 493.9 MB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.4585, allocations: 0.6531 MB / 494.6 MB, free: 26.78 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.004017/0.4625, allocations: 2.845 MB / 497.4 MB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.4646, allocations: 0.5314 MB / 497.9 MB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05011/0.5147, allocations: 24.54 MB / 0.5102 GB, free: 22.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.5148, allocations: 37.38 kB / 0.5103 GB, free: 22.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.916e-06/0.5148, allocations: 0 / 0.5103 GB, free: 22.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.003473/0.5183, allocations: 0.8989 MB / 0.5111 GB, free: 22.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.5184, allocations: 114.5 kB / 0.5113 GB, free: 22.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.5189, allocations: 376.5 kB / 0.5116 GB, free: 21.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.5189, allocations: 31.61 kB / 0.5116 GB, free: 21.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.5191, allocations: 228.8 kB / 0.5119 GB, free: 21.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.5192, allocations: 90.77 kB / 0.512 GB, free: 21.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.5192, allocations: 9.281 kB / 0.512 GB, free: 21.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5193, allocations: 348.2 kB / 0.5123 GB, free: 21.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.5199, allocations: 184 kB / 0.5125 GB, free: 21.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.5204, allocations: 277.1 kB / 0.5127 GB, free: 20.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.521, allocations: 191.9 kB / 0.5129 GB, free: 20.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.521, allocations: 1.094 kB / 0.5129 GB, free: 20.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001289/0.5223, allocations: 0.5142 MB / 0.5134 GB, free: 20.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.5227, allocations: 1.048 MB / 0.5144 GB, free: 19.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5227, allocations: 3.156 kB / 0.5144 GB, free: 19.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5227, allocations: 6.703 kB / 0.5145 GB, free: 19.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.5232, allocations: 112.4 kB / 0.5146 GB, free: 19.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5232, allocations: 13.02 kB / 0.5146 GB, free: 19.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.5237, allocations: 83.3 kB / 0.5146 GB, free: 19.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.5238, allocations: 25.02 kB / 0.5147 GB, free: 19.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.5238, allocations: 5.906 kB / 0.5147 GB, free: 19.39 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/0.525, allocations: 451.5 kB / 0.5151 GB, free: 19.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.525, allocations: 6.094 kB / 0.5151 GB, free: 19.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.525, allocations: 12.22 kB / 0.5151 GB, free: 19.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.5255, allocations: 108.5 kB / 0.5152 GB, free: 19.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5255, allocations: 4.656 kB / 0.5152 GB, free: 19.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.5259, allocations: 79.95 kB / 0.5153 GB, free: 19.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.5259, allocations: 16.7 kB / 0.5153 GB, free: 19.11 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 (SourceP1.medium.phase,SinkP1.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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.5262, allocations: 251 kB / 0.5156 GB, free: 18.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.5263, allocations: 40.44 kB / 0.5156 GB, free: 18.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.5289, allocations: 2.006 MB / 0.5176 GB, free: 17.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.5289, allocations: 37.06 kB / 0.5176 GB, free: 17.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5289, allocations: 0 / 0.5176 GB, free: 17.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.5289, allocations: 0 / 0.5176 GB, free: 17.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.5298, allocations: 1.046 MB / 0.5186 GB, free: 16.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5299, allocations: 0 / 0.5186 GB, free: 16.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.5302, allocations: 103 kB / 0.5187 GB, free: 16.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5303, allocations: 0 / 0.5187 GB, free: 16.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.5303, allocations: 7.344 kB / 0.5187 GB, free: 16.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5303, allocations: 3.281 kB / 0.5187 GB, free: 16.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5303, allocations: 0 / 0.5187 GB, free: 16.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.5319, allocations: 1.16 MB / 0.5199 GB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.5321, allocations: 267.7 kB / 0.5201 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.5322, allocations: 4 kB / 0.5201 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.5326, allocations: 67.31 kB / 0.5202 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.5327, allocations: 34.45 kB / 0.5202 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.5327, allocations: 16.14 kB / 0.5202 GB, free: 15.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003857/0.5331, allocations: 370 kB / 0.5206 GB, free: 15.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5331, allocations: 3.938 kB / 0.5206 GB, free: 15.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005723/0.5388, allocations: 1.135 MB / 0.5217 GB, free: 15.48 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,$cse13.phase,$cse13.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005223/0.5441, allocations: 1.214 MB / 0.5229 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.5461, allocations: 0.924 MB / 0.5238 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5461, allocations: 0 / 0.5238 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006733/0.5468, allocations: 0.5454 MB / 0.5243 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5479, allocations: 226 kB / 0.5245 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.5503, allocations: 1.993 MB / 0.5265 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.5511, allocations: 0.9953 MB / 0.5275 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009724/0.5521, allocations: 0.5428 MB / 0.528 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5522, allocations: 47.38 kB / 0.528 GB, free: 9.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5522, allocations: 0 / 0.528 GB, free: 9.031 MB / 398.1 MB Notification: Performance of Templates: time 0.06367/0.6159, allocations: 40.7 MB / 0.5678 GB, free: 328 kB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) Environment - environmentSimulation: