Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001909/0.00191, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.498/1.498, allocations: 205.4 MB / 223.4 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4532/0.4532, allocations: 48.78 MB / 320.4 MB, free: 3.812 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: Performance of FrontEnd - loaded program: time 0.0005043/0.0005043, allocations: 16 kB / 391.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 60.24 MB / 451.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2246/0.3399, allocations: 37.37 MB / 488.8 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009609/0.3496, allocations: 8.07 MB / 496.8 MB, free: 21.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.3501, allocations: 14.81 kB / 496.8 MB, free: 21.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.3507, allocations: 163.5 kB / 497 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006198/0.3514, allocations: 285 kB / 497.3 MB, free: 21.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01552/0.3669, allocations: 3.933 MB / 0.4895 GB, free: 19.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.3684, allocations: 0.5156 MB / 0.49 GB, free: 19.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.3689, allocations: 212.5 kB / 0.4902 GB, free: 19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007916/0.3697, allocations: 354.9 kB / 0.4905 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.37, allocations: 224.7 kB / 0.4907 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.37, allocations: 16.66 kB / 0.4907 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/0.3834, allocations: 5.984 MB / 0.4966 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3837, allocations: 71.08 kB / 0.4967 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.384, allocations: 110.4 kB / 0.4968 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006169/0.3902, allocations: 2.448 MB / 0.4992 GB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3902, allocations: 4 kB / 0.4992 GB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3902, allocations: 0 / 0.4992 GB, free: 14.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3902, allocations: 0 / 0.4992 GB, free: 14.29 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004253/0.3945, allocations: 1.112 MB / 0.5002 GB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3945, allocations: 8.938 kB / 0.5002 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.3948, allocations: 73.36 kB / 0.5003 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.3952, allocations: 350.8 kB / 0.5007 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.3953, allocations: 25.34 kB / 0.5007 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3953, allocations: 32.72 kB / 0.5007 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.3962, allocations: 440.2 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3963, allocations: 1.094 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3963, allocations: 11.84 kB / 0.5011 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3963, allocations: 8.188 kB / 0.5011 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3975, allocations: 382.8 kB / 0.5015 GB, free: 12.59 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.00202/0.3995, allocations: 2.143 MB / 0.5036 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4007, allocations: 340.2 kB / 0.5039 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06279/0.4635, allocations: 32.42 MB / 0.5356 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.4636, allocations: 34.69 kB / 0.5356 GB, free: 8.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.4636, allocations: 4 kB / 0.5356 GB, free: 8.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001835/0.4655, allocations: 449.8 kB / 0.5361 GB, free: 7.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4655, allocations: 77.11 kB / 0.5361 GB, free: 7.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.466, allocations: 434.1 kB / 0.5365 GB, free: 7.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.4661, allocations: 29.7 kB / 0.5366 GB, free: 7.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.4662, allocations: 236 kB / 0.5368 GB, free: 6.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.4663, allocations: 63.17 kB / 0.5369 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.4663, allocations: 0 / 0.5369 GB, free: 6.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4665, allocations: 358.8 kB / 0.5372 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.4668, allocations: 103.9 kB / 0.5373 GB, free: 6.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.4672, allocations: 167.6 kB / 0.5375 GB, free: 6.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.4676, allocations: 115.9 kB / 0.5376 GB, free: 6.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4676, allocations: 0 / 0.5376 GB, free: 6.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009078/0.4685, allocations: 341.4 kB / 0.5379 GB, free: 5.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.4688, allocations: 0.79 MB / 0.5387 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4689, allocations: 4 kB / 0.5387 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4689, allocations: 8 kB / 0.5387 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.4693, allocations: 67.89 kB / 0.5387 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4693, allocations: 3.984 kB / 0.5387 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.4697, allocations: 63.56 kB / 0.5388 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.4697, allocations: 8 kB / 0.5388 GB, free: 4.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.4698, allocations: 4 kB / 0.5388 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007741/0.4705, allocations: 267.8 kB / 0.5391 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.4706, allocations: 0 / 0.5391 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.4706, allocations: 4 kB / 0.5391 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.4709, allocations: 68.64 kB / 0.5391 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4709, allocations: 0.9375 kB / 0.5391 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.4713, allocations: 59.69 kB / 0.5392 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4713, allocations: 12 kB / 0.5392 GB, free: 4.379 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001901/0.4715, allocations: 228.9 kB / 0.5394 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.4716, allocations: 47.44 kB / 0.5395 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.4727, allocations: 483.1 kB / 0.5399 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.4727, allocations: 4 kB / 0.5399 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4727, allocations: 1.062 kB / 0.5399 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4727, allocations: 0 / 0.5399 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.4733, allocations: 468.8 kB / 0.5404 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4733, allocations: 0 / 0.5404 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.4736, allocations: 55.89 kB / 0.5404 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4736, allocations: 4 kB / 0.5404 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4736, allocations: 7.984 kB / 0.5405 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4736, allocations: 2.188 kB / 0.5405 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4736, allocations: 0 / 0.5405 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.4745, allocations: 483.7 kB / 0.5409 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.4746, allocations: 164.3 kB / 0.5411 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.4747, allocations: 4 kB / 0.5411 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.4751, allocations: 39.88 kB / 0.5411 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.4752, allocations: 23.91 kB / 0.5411 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4752, allocations: 4 kB / 0.5411 GB, free: 2.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.4756, allocations: 406.8 kB / 0.5415 GB, free: 1.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4756, allocations: 0 / 0.5415 GB, free: 1.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003801/0.4794, allocations: 0.9291 MB / 0.5424 GB, free: 0.9688 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.004326/0.4838, allocations: 0.9533 MB / 0.5434 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.4852, allocations: 396.2 kB / 0.5437 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4852, allocations: 0 / 0.5437 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.4856, allocations: 128.1 kB / 0.5439 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4869, allocations: 223.2 kB / 0.5441 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.4885, allocations: 0.9254 MB / 0.545 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4889, allocations: 0.8428 MB / 0.5458 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.4893, allocations: 159.5 kB / 0.546 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.4894, allocations: 35.44 kB / 0.546 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4894, allocations: 0 / 0.546 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Templates: time 0.04567/0.535, allocations: 34.42 MB / 0.5796 GB, free: 10.88 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) Environment - environmentSimulation: