Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001279, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001077/0.001077, allocations: 192.5 kB / 18.67 MB, free: 4.434 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.371/1.371, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3122/0.3122, allocations: 48.84 MB / 320.7 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.001458/0.001458, allocations: 67.91 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01905/0.135, allocations: 16.1 MB / 0.5141 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2461/0.3811, allocations: 13.55 MB / 0.5274 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.3815, allocations: 4.875 kB / 0.5274 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.382, allocations: 128.2 kB / 0.5275 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.3824, allocations: 207.4 kB / 0.5277 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01585/0.3983, allocations: 5.328 MB / 0.5329 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.4006, allocations: 1.947 MB / 0.5348 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.4009, allocations: 117 kB / 0.5349 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.4021, allocations: 0.6252 MB / 0.5355 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.4036, allocations: 0.7831 MB / 0.5363 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.4039, allocations: 137.8 kB / 0.5364 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.4201, allocations: 6.782 MB / 0.543 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008063/0.4209, allocations: 480.4 kB / 0.5435 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.422, allocations: 0.5722 MB / 0.5441 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.4358, allocations: 5.024 MB / 0.549 GB, free: 4.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4358, allocations: 3 kB / 0.549 GB, free: 4.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4358, allocations: 0 / 0.549 GB, free: 4.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.4358, allocations: 0 / 0.549 GB, free: 4.926 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01084/0.4467, allocations: 2.591 MB / 0.5515 GB, free: 3.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4468, allocations: 13.23 kB / 0.5515 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.4486, allocations: 298.9 kB / 0.5518 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4497, allocations: 0.5761 MB / 0.5524 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008694/0.4506, allocations: 467.7 kB / 0.5528 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.4509, allocations: 70.38 kB / 0.5529 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008981/0.4599, allocations: 3.376 MB / 0.5562 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4599, allocations: 0 / 0.5562 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.4602, allocations: 26.56 kB / 0.5562 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.4602, allocations: 50.95 kB / 0.5562 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.4756, allocations: 5.396 MB / 0.5615 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.492, allocations: 10.09 MB / 0.5714 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.4999, allocations: 2.74 MB / 0.574 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006569/0.5065, allocations: 2.279 MB / 0.5763 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1161/0.6227, allocations: 53.65 MB / 0.6287 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.6228, allocations: 42.84 kB / 0.6287 GB, free: 5.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 4.468e-06/0.6228, allocations: 0 / 0.6287 GB, free: 5.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.02338/0.6462, allocations: 6.63 MB / 0.6352 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.6463, allocations: 64.41 kB / 0.6352 GB, free: 15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.6466, allocations: 252.9 kB / 0.6355 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.647, allocations: 37.7 kB / 0.6355 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.6472, allocations: 244.6 kB / 0.6357 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/0.6478, allocations: 296.7 kB / 0.636 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009362/0.6488, allocations: 286.3 kB / 0.6363 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.649, allocations: 356.3 kB / 0.6366 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00644/0.6554, allocations: 2.151 MB / 0.6387 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006811/0.6622, allocations: 2.247 MB / 0.6409 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/0.6745, allocations: 3.403 MB / 0.6443 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.6745, allocations: 0 / 0.6443 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01438/0.6889, allocations: 4.142 MB / 0.6483 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.689, allocations: 7.906 kB / 0.6483 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.689, allocations: 4 kB / 0.6483 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.689, allocations: 7.938 kB / 0.6483 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/0.6931, allocations: 0.8228 MB / 0.6491 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.6931, allocations: 4 kB / 0.6491 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.6964, allocations: 0.6079 MB / 0.6497 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004647/0.6969, allocations: 92.95 kB / 0.6498 GB, free: 15.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001094/0.698, allocations: 264.7 kB / 0.6501 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/0.6986, allocations: 47.44 kB / 0.6501 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/0.7154, allocations: 6.522 MB / 0.6565 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01562/0.7311, allocations: 5.943 MB / 0.6623 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.7311, allocations: 0 / 0.6623 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.7311, allocations: 7.984 kB / 0.6623 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/0.7541, allocations: 9.102 MB / 0.6712 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.7542, allocations: 13.78 kB / 0.6712 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003886/0.7581, allocations: 0.7982 MB / 0.672 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/0.7581, allocations: 8 kB / 0.672 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/0.7585, allocations: 75.81 kB / 0.6721 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.7585, allocations: 4 kB / 0.6721 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7585, allocations: 4 kB / 0.6721 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.7731, allocations: 4.84 MB / 0.6768 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.7735, allocations: 191.5 kB / 0.677 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/0.7739, allocations: 19.94 kB / 0.677 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/0.777, allocations: 0.5617 MB / 0.6775 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.7775, allocations: 144.6 kB / 0.6777 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/0.7778, allocations: 87.81 kB / 0.6778 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002389/0.778, allocations: 190 kB / 0.6779 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.778, allocations: 0 / 0.6779 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005601/0.7836, allocations: 1.276 MB / 0.6792 GB, free: 1.816 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.007511/0.7912, allocations: 1.143 MB / 0.6803 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01505/0.8062, allocations: 4.888 MB / 0.6851 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8063, allocations: 4 kB / 0.6851 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007623/0.8139, allocations: 2.715 MB / 0.6877 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.8164, allocations: 338.6 kB / 0.6881 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.8289, allocations: 4.559 MB / 0.6925 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/0.8299, allocations: 1.129 MB / 0.6936 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/0.8319, allocations: 250.9 kB / 0.6938 GB, free: 2.883 MB / 0.545 GB Notification: Performance of SimCode: time 1.021e-06/0.8319, allocations: 0 / 0.6938 GB, free: 2.883 MB / 0.545 GB Notification: Performance of Templates: time 0.05793/0.8899, allocations: 37.38 MB / 0.7304 GB, free: 13.43 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)