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.00116/0.00116, allocations: 111 kB / 17.74 MB, free: 5.324 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.0009115/0.0009115, allocations: 188.4 kB / 18.67 MB, free: 4.398 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.171/1.171, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2303/0.2303, allocations: 48.85 MB / 320.7 MB, free: 11 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.001458/0.001458, allocations: 71.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08696, allocations: 59.16 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.212/0.299, allocations: 44.33 MB / 0.5417 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008291/0.3074, allocations: 9.262 MB / 0.5507 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.3077, allocations: 9.406 kB / 0.5507 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.3082, allocations: 214 kB / 0.551 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.3087, allocations: 282.1 kB / 0.5512 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.3196, allocations: 5.035 MB / 0.5561 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008233/0.3205, allocations: 0.7903 MB / 0.5569 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.3208, allocations: 261.2 kB / 0.5572 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.3214, allocations: 410.5 kB / 0.5576 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3216, allocations: 294 kB / 0.5578 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.3217, allocations: 30.16 kB / 0.5579 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.332, allocations: 6.155 MB / 0.5639 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3322, allocations: 79.02 kB / 0.5639 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.3325, allocations: 242.8 kB / 0.5642 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005468/0.338, allocations: 3.698 MB / 0.5678 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.338, allocations: 0 / 0.5678 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.338, allocations: 0 / 0.5678 GB, free: 12.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.338, allocations: 1.062 kB / 0.5678 GB, free: 12.36 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.002558/0.3406, allocations: 1.188 MB / 0.5689 GB, free: 11.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3406, allocations: 13.92 kB / 0.569 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3408, allocations: 70.58 kB / 0.569 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.3413, allocations: 383.4 kB / 0.5694 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3414, allocations: 22.19 kB / 0.5694 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.3414, allocations: 33.62 kB / 0.5694 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.3423, allocations: 435.4 kB / 0.5699 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3423, allocations: 1.188 kB / 0.5699 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3424, allocations: 11.5 kB / 0.5699 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.3424, allocations: 12.62 kB / 0.5699 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3435, allocations: 362.6 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.001988/0.3455, allocations: 2.114 MB / 0.5723 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3465, allocations: 298.5 kB / 0.5726 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.3469, allocations: 122.8 kB / 0.5727 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05604/0.4029, allocations: 32.25 MB / 0.6042 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.403, allocations: 34.56 kB / 0.6042 GB, free: 9.668 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.403, allocations: 0 / 0.6042 GB, free: 9.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001565/0.4045, allocations: 412.8 kB / 0.6046 GB, free: 9.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4046, allocations: 85.05 kB / 0.6047 GB, free: 9.156 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.4051, allocations: 442 kB / 0.6051 GB, free: 8.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4051, allocations: 29.7 kB / 0.6051 GB, free: 8.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4052, allocations: 224.1 kB / 0.6054 GB, free: 8.453 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.4053, allocations: 63.17 kB / 0.6054 GB, free: 8.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.4054, allocations: 49.7 kB / 0.6055 GB, free: 8.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4055, allocations: 358.7 kB / 0.6058 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4059, allocations: 100.8 kB / 0.6059 GB, free: 7.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.4062, allocations: 156.5 kB / 0.6061 GB, free: 7.695 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.4069, allocations: 266.9 kB / 0.6063 GB, free: 7.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.407, allocations: 4 kB / 0.6063 GB, free: 7.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008476/0.4078, allocations: 328.9 kB / 0.6066 GB, free: 7.078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4078, allocations: 4 kB / 0.6066 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4078, allocations: 4 kB / 0.6066 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4079, allocations: 4 kB / 0.6066 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.4082, allocations: 63.94 kB / 0.6067 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4082, allocations: 7.938 kB / 0.6067 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.4086, allocations: 55.59 kB / 0.6068 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.4086, allocations: 11.94 kB / 0.6068 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000397/0.409, allocations: 200.5 kB / 0.607 GB, free: 6.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000334/0.4094, allocations: 157.3 kB / 0.6071 GB, free: 6.543 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006373/0.41, allocations: 245.2 kB / 0.6073 GB, free: 6.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.41, allocations: 7.938 kB / 0.6074 GB, free: 6.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007858/0.4108, allocations: 321.3 kB / 0.6077 GB, free: 5.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.4109, allocations: 11.91 kB / 0.6077 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.4109, allocations: 0 / 0.6077 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.4109, allocations: 4 kB / 0.6077 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.4112, allocations: 71.88 kB / 0.6077 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4112, allocations: 4 kB / 0.6078 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.4115, allocations: 35.86 kB / 0.6078 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.4116, allocations: 11.98 kB / 0.6078 GB, free: 5.805 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.0001056/0.4117, allocations: 196.1 kB / 0.608 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.4118, allocations: 47.62 kB / 0.608 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.4127, allocations: 444.4 kB / 0.6085 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4127, allocations: 4 kB / 0.6085 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4127, allocations: 0 / 0.6085 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4127, allocations: 3.938 kB / 0.6085 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.4132, allocations: 460.9 kB / 0.6089 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4132, allocations: 0 / 0.6089 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.4135, allocations: 55.89 kB / 0.609 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4135, allocations: 0 / 0.609 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4135, allocations: 12.86 kB / 0.609 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4135, allocations: 0 / 0.609 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4136, allocations: 0 / 0.609 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.4143, allocations: 457.8 kB / 0.6094 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4145, allocations: 124.5 kB / 0.6095 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.4145, allocations: 12.03 kB / 0.6095 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.4149, allocations: 28.91 kB / 0.6096 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4149, allocations: 19.92 kB / 0.6096 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.4149, allocations: 11.92 kB / 0.6096 GB, free: 3.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.4153, allocations: 406.8 kB / 0.61 GB, free: 3.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4153, allocations: 0 / 0.61 GB, free: 3.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002526/0.4179, allocations: 0.9329 MB / 0.6109 GB, free: 2.535 MB / 462.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 (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.003579/0.4215, allocations: 0.9639 MB / 0.6118 GB, free: 1.578 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.4226, allocations: 359.9 kB / 0.6122 GB, free: 1.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4226, allocations: 0 / 0.6122 GB, free: 1.227 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.4229, allocations: 116.7 kB / 0.6123 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.424, allocations: 236.2 kB / 0.6125 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4253, allocations: 0.7942 MB / 0.6133 GB, free: 60 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4256, allocations: 0.823 MB / 0.6141 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4257, allocations: 47.41 kB / 0.6141 GB, free: 15.16 MB / 478.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4257, allocations: 0 / 0.6141 GB, free: 15.16 MB / 478.1 MB Notification: Performance of Templates: time 0.02503/0.4508, allocations: 20.22 MB / 0.6339 GB, free: 10.91 MB / 494.1 MB 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)