Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009075/0.0009075, allocations: 100.2 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.0009551/0.0009553, 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.222/1.222, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2713/0.2713, allocations: 40 MB / 310.4 MB, free: 9.664 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.0008739/0.000874, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1023, allocations: 57.97 MB / 436.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.1858/0.2881, allocations: 24.24 MB / 461 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.3017, allocations: 14.78 MB / 475.8 MB, free: 31.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.3022, allocations: 18.12 kB / 475.8 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.3029, allocations: 261.1 kB / 476.1 MB, free: 31.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006914/0.3099, allocations: 2.964 MB / 479 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007341/0.3172, allocations: 3.095 MB / 482.1 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008035/0.318, allocations: 0.6097 MB / 482.7 MB, free: 28.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.3184, allocations: 241.3 kB / 483 MB, free: 28.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.319, allocations: 436.8 kB / 483.4 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.3193, allocations: 232 kB / 483.6 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.3193, allocations: 15.94 kB / 483.6 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.3298, allocations: 7.173 MB / 490.8 MB, free: 26.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.33, allocations: 88.88 kB / 490.9 MB, free: 26.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3301, allocations: 113.4 kB / 491 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.3349, allocations: 3.07 MB / 494.1 MB, free: 25.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3349, allocations: 0 / 494.1 MB, free: 25.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3349, allocations: 0 / 494.1 MB, free: 25.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3349, allocations: 3.031 kB / 494.1 MB, free: 25.48 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.003247/0.3382, allocations: 1.268 MB / 495.4 MB, free: 24.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.3382, allocations: 13.39 kB / 495.4 MB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.34, allocations: 231.9 kB / 495.6 MB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.3406, allocations: 384.8 kB / 496 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.3406, allocations: 32.5 kB / 496 MB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.3407, allocations: 29.81 kB / 496 MB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.3424, allocations: 0.6787 MB / 496.7 MB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3424, allocations: 3.938 kB / 496.7 MB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.3425, allocations: 17.12 kB / 496.7 MB, free: 24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.3425, allocations: 9.25 kB / 496.7 MB, free: 24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3444, allocations: 0.6532 MB / 497.4 MB, free: 23.84 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.002868/0.3473, allocations: 2.849 MB / 0.4885 GB, free: 21.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3491, allocations: 0.5307 MB / 0.489 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04475/0.3938, allocations: 24.54 MB / 0.513 GB, free: 19.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3939, allocations: 41.25 kB / 0.513 GB, free: 19.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.3939, allocations: 0 / 0.513 GB, free: 19.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.003113/0.397, allocations: 0.8999 MB / 0.5139 GB, free: 18.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.3971, allocations: 109.6 kB / 0.514 GB, free: 18.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.3976, allocations: 375.2 kB / 0.5144 GB, free: 18.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.3976, allocations: 32.45 kB / 0.5144 GB, free: 18.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3977, allocations: 230.1 kB / 0.5146 GB, free: 18.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.675e-05/0.3978, allocations: 93.64 kB / 0.5147 GB, free: 18.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.3978, allocations: 5.375 kB / 0.5147 GB, free: 18.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.398, allocations: 356.4 kB / 0.5151 GB, free: 17.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.3986, allocations: 176.9 kB / 0.5152 GB, free: 17.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.3992, allocations: 283.2 kB / 0.5155 GB, free: 17.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.3997, allocations: 191.1 kB / 0.5157 GB, free: 17.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3997, allocations: 1.375 kB / 0.5157 GB, free: 17.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001277/0.401, allocations: 0.5073 MB / 0.5162 GB, free: 17.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.4013, allocations: 1.053 MB / 0.5172 GB, free: 16.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4013, allocations: 3.719 kB / 0.5172 GB, free: 16.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4014, allocations: 4.625 kB / 0.5172 GB, free: 16.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.4018, allocations: 119.4 kB / 0.5173 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.4018, allocations: 5.469 kB / 0.5173 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.4023, allocations: 88.08 kB / 0.5174 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.4024, allocations: 15.58 kB / 0.5174 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.4024, allocations: 4.062 kB / 0.5174 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/0.4035, allocations: 459.3 kB / 0.5179 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4036, allocations: 3.312 kB / 0.5179 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.4036, allocations: 7.266 kB / 0.5179 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.404, allocations: 115.5 kB / 0.518 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.404, allocations: 2.844 kB / 0.518 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.4044, allocations: 83.09 kB / 0.5181 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.4045, allocations: 20.88 kB / 0.5181 GB, free: 15.67 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.4047, allocations: 237.5 kB / 0.5183 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.4048, allocations: 45.19 kB / 0.5184 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.4071, allocations: 1.997 MB / 0.5203 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.4071, allocations: 34.44 kB / 0.5204 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4071, allocations: 0 / 0.5204 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4072, allocations: 3.938 kB / 0.5204 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.408, allocations: 1.046 MB / 0.5214 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.408, allocations: 0 / 0.5214 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.4084, allocations: 103.2 kB / 0.5215 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4084, allocations: 3.25 kB / 0.5215 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4085, allocations: 6.25 kB / 0.5215 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4085, allocations: 0 / 0.5215 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4085, allocations: 7.047 kB / 0.5215 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.41, allocations: 1.162 MB / 0.5226 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.4102, allocations: 266.8 kB / 0.5229 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.4103, allocations: 8 kB / 0.5229 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.4108, allocations: 63.8 kB / 0.523 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4109, allocations: 35.89 kB / 0.523 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.4109, allocations: 11.98 kB / 0.523 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.4113, allocations: 370.8 kB / 0.5234 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4113, allocations: 0 / 0.5234 GB, free: 12.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004023/0.4153, allocations: 1.132 MB / 0.5245 GB, free: 10.91 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.006099/0.4214, allocations: 1.228 MB / 0.5257 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.4236, allocations: 0.9124 MB / 0.5265 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4236, allocations: 0 / 0.5265 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.4245, allocations: 0.5529 MB / 0.5271 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.4256, allocations: 225.9 kB / 0.5273 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.4281, allocations: 1.985 MB / 0.5292 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.4286, allocations: 0.9992 MB / 0.5302 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008345/0.4295, allocations: 0.5428 MB / 0.5307 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4296, allocations: 47.42 kB / 0.5308 GB, free: 4.363 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4296, allocations: 0 / 0.5308 GB, free: 4.363 MB / 398.1 MB Notification: Performance of Templates: time 0.05091/0.4805, allocations: 40.7 MB / 0.5705 GB, free: 11.66 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) Environment - environmentSimulation: