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.001112/0.001112, allocations: 110.5 kB / 17.75 MB, free: 5.227 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.001095/0.001095, allocations: 189.3 kB / 18.67 MB, free: 4.309 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.237/1.237, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2453/0.2453, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.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.001444/0.001444, allocations: 71.91 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08998, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2221/0.3121, allocations: 44.33 MB / 0.5417 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008875/0.321, allocations: 9.27 MB / 0.5507 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.3214, allocations: 13.31 kB / 0.5508 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.3219, allocations: 208.2 kB / 0.551 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.3225, allocations: 292.7 kB / 0.5512 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.3343, allocations: 5.032 MB / 0.5562 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.3352, allocations: 0.789 MB / 0.5569 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.3356, allocations: 259.2 kB / 0.5572 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.3362, allocations: 406.1 kB / 0.5576 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.3365, allocations: 301.5 kB / 0.5578 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.3365, allocations: 29.75 kB / 0.5579 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.3475, allocations: 6.144 MB / 0.5639 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3476, allocations: 88.55 kB / 0.564 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.348, allocations: 237.7 kB / 0.5642 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006393/0.3544, allocations: 3.706 MB / 0.5678 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3544, allocations: 4 kB / 0.5678 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3544, allocations: 0 / 0.5678 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3544, allocations: 0 / 0.5678 GB, free: 12.34 MB / 430.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.002938/0.3574, allocations: 1.181 MB / 0.569 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3574, allocations: 16.77 kB / 0.569 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.3577, allocations: 70.45 kB / 0.569 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.3582, allocations: 376.3 kB / 0.5694 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3582, allocations: 26.38 kB / 0.5694 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.3583, allocations: 27.94 kB / 0.5695 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.3592, allocations: 436.6 kB / 0.5699 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3592, allocations: 6.953 kB / 0.5699 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3593, allocations: 14.94 kB / 0.5699 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3593, allocations: 7.844 kB / 0.5699 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3605, allocations: 360.5 kB / 0.5702 GB, free: 10.57 MB / 430.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.002121/0.3626, allocations: 2.11 MB / 0.5723 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.3638, allocations: 300.2 kB / 0.5726 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.3641, allocations: 114.2 kB / 0.5727 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06047/0.4246, allocations: 32.25 MB / 0.6042 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.4247, allocations: 38.55 kB / 0.6042 GB, free: 9.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.525e-06/0.4247, allocations: 3.938 kB / 0.6042 GB, free: 9.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001672/0.4264, allocations: 416.8 kB / 0.6046 GB, free: 9.266 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.4264, allocations: 81.11 kB / 0.6047 GB, free: 9.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.4269, allocations: 434 kB / 0.6051 GB, free: 8.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4269, allocations: 33.7 kB / 0.6051 GB, free: 8.695 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4271, allocations: 236.1 kB / 0.6054 GB, free: 8.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.4272, allocations: 51.2 kB / 0.6054 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.4273, allocations: 53.69 kB / 0.6055 GB, free: 8.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4274, allocations: 358.7 kB / 0.6058 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.4278, allocations: 96.78 kB / 0.6059 GB, free: 7.891 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.4282, allocations: 164.5 kB / 0.6061 GB, free: 7.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.4289, allocations: 255.9 kB / 0.6063 GB, free: 7.426 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4289, allocations: 0 / 0.6063 GB, free: 7.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009093/0.4298, allocations: 336.7 kB / 0.6066 GB, free: 7.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4299, allocations: 11.94 kB / 0.6066 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4299, allocations: 0 / 0.6066 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4299, allocations: 4 kB / 0.6066 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.4303, allocations: 68.98 kB / 0.6067 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4303, allocations: 3.984 kB / 0.6067 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.4307, allocations: 47.58 kB / 0.6068 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.4307, allocations: 11.98 kB / 0.6068 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004207/0.4311, allocations: 204.5 kB / 0.607 GB, free: 6.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003484/0.4315, allocations: 157.3 kB / 0.6071 GB, free: 6.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006769/0.4322, allocations: 261.1 kB / 0.6074 GB, free: 6.266 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.4322, allocations: 3.984 kB / 0.6074 GB, free: 6.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008213/0.433, allocations: 309.4 kB / 0.6077 GB, free: 5.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.433, allocations: 15.89 kB / 0.6077 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4331, allocations: 4 kB / 0.6077 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.4331, allocations: 4.75 kB / 0.6077 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.4334, allocations: 63.98 kB / 0.6077 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4334, allocations: 8 kB / 0.6078 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.4338, allocations: 35.81 kB / 0.6078 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.4338, allocations: 8 kB / 0.6078 GB, free: 5.816 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4339, allocations: 196.1 kB / 0.608 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.434, allocations: 47.44 kB / 0.608 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.435, allocations: 449.9 kB / 0.6085 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.435, allocations: 4 kB / 0.6085 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.435, allocations: 0 / 0.6085 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4352, allocations: 128.5 kB / 0.6086 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.4352, allocations: 27.7 kB / 0.6086 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.4356, allocations: 15.98 kB / 0.6086 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.4357, allocations: 19.97 kB / 0.6086 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009441/0.4366, allocations: 415.8 kB / 0.609 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000847/0.4375, allocations: 0.5129 MB / 0.6095 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003336/0.4378, allocations: 112.2 kB / 0.6097 GB, free: 3.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004149/0.4382, allocations: 414.8 kB / 0.61 GB, free: 3.457 MB / 462.1 MB Notification: Performance of Backend: time 2.5e-07/0.4382, allocations: 0 / 0.61 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005866/0.4441, allocations: 1.38 MB / 0.6114 GB, free: 2.086 MB / 462.1 MB Notification: Performance of SimCode: time 0.001802/0.4459, allocations: 1.347 MB / 0.6127 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of Templates: time 0.04882/0.4948, allocations: 38.53 MB / 0.6503 GB, free: 10.1 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (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)