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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 111.7 kB / 17.06 MB, free: 5.988 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.001526/0.001526, allocations: 195.9 kB / 18 MB, free: 5.074 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.614/1.614, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3543/0.3543, allocations: 48.84 MB / 320.1 MB, free: 11.03 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.002516/0.002516, allocations: 71.89 kB / 450.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1459, allocations: 59.16 MB / 0.4973 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02787/0.1739, allocations: 16.09 MB / 0.513 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3165/0.4905, allocations: 13.55 MB / 0.5262 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.4909, allocations: 3.125 kB / 0.5262 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.4916, allocations: 130.5 kB / 0.5264 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.4921, allocations: 203.9 kB / 0.5266 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.019/0.5111, allocations: 5.324 MB / 0.5318 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002819/0.514, allocations: 1.958 MB / 0.5337 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.5143, allocations: 112.4 kB / 0.5338 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.5155, allocations: 0.6198 MB / 0.5344 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.5171, allocations: 0.789 MB / 0.5351 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004461/0.5176, allocations: 135.8 kB / 0.5353 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.5374, allocations: 6.78 MB / 0.5419 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000743/0.5382, allocations: 479.6 kB / 0.5424 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.5395, allocations: 0.5727 MB / 0.5429 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.5532, allocations: 5.036 MB / 0.5478 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5533, allocations: 3.781 kB / 0.5478 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5533, allocations: 0 / 0.5478 GB, free: 4.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.5533, allocations: 0 / 0.5478 GB, free: 4.426 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.01185/0.5651, allocations: 2.63 MB / 0.5504 GB, free: 2.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.792e-05/0.5652, allocations: 13.86 kB / 0.5504 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002999/0.5656, allocations: 146.7 kB / 0.5506 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.5677, allocations: 298.2 kB / 0.5508 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5689, allocations: 0.5959 MB / 0.5514 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001187/0.5701, allocations: 459.5 kB / 0.5519 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.5704, allocations: 66.59 kB / 0.5519 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.5809, allocations: 3.369 MB / 0.5552 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.581, allocations: 1.547 kB / 0.5552 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.5812, allocations: 34.2 kB / 0.5552 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.5814, allocations: 55.03 kB / 0.5553 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.6006, allocations: 5.396 MB / 0.5606 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/0.6204, allocations: 10.09 MB / 0.5704 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009536/0.63, allocations: 2.736 MB / 0.5731 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007853/0.6378, allocations: 2.275 MB / 0.5753 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1345/0.7724, allocations: 53.66 MB / 0.6277 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.7725, allocations: 43.56 kB / 0.6278 GB, free: 5.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.615e-06/0.7726, allocations: 3.844 kB / 0.6278 GB, free: 5.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.02622/0.7988, allocations: 6.641 MB / 0.6342 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.7989, allocations: 60.41 kB / 0.6343 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.7993, allocations: 250.3 kB / 0.6345 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.7996, allocations: 41.7 kB / 0.6346 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.7998, allocations: 253.1 kB / 0.6348 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000594/0.8004, allocations: 321.7 kB / 0.6351 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.8015, allocations: 286.2 kB / 0.6354 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.8017, allocations: 350.8 kB / 0.6357 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007573/0.8093, allocations: 2.144 MB / 0.6378 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008061/0.8174, allocations: 2.255 MB / 0.64 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/0.831, allocations: 3.398 MB / 0.6434 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.8311, allocations: 0 / 0.6434 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01537/0.8465, allocations: 4.145 MB / 0.6474 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.8465, allocations: 15 kB / 0.6474 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.8466, allocations: 3.984 kB / 0.6474 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.212e-05/0.8466, allocations: 11.94 kB / 0.6474 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.8509, allocations: 0.817 MB / 0.6482 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.851, allocations: 8 kB / 0.6482 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/0.8545, allocations: 0.6081 MB / 0.6488 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/0.8549, allocations: 91.81 kB / 0.6489 GB, free: 15.41 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.0009626/0.8558, allocations: 264.6 kB / 0.6492 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.8562, allocations: 51.72 kB / 0.6492 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/0.8754, allocations: 6.523 MB / 0.6556 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01724/0.8926, allocations: 5.933 MB / 0.6614 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/0.8927, allocations: 0.9375 kB / 0.6614 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/0.8927, allocations: 11.97 kB / 0.6614 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/0.9175, allocations: 9.106 MB / 0.6703 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.9176, allocations: 0 / 0.6703 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004205/0.9218, allocations: 0.8006 MB / 0.6711 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.028e-05/0.9219, allocations: 4 kB / 0.6711 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003392/0.9222, allocations: 82.75 kB / 0.6712 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.9223, allocations: 4 kB / 0.6712 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.9223, allocations: 2.719 kB / 0.6712 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/0.9391, allocations: 4.85 MB / 0.6759 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.9394, allocations: 192 kB / 0.6761 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.9398, allocations: 20 kB / 0.6761 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/0.9431, allocations: 0.5656 MB / 0.6766 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/0.9436, allocations: 136.6 kB / 0.6768 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003597/0.9439, allocations: 83.81 kB / 0.6769 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003061/0.9443, allocations: 195.6 kB / 0.677 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9443, allocations: 0 / 0.677 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005946/0.9503, allocations: 1.291 MB / 0.6783 GB, free: 1.211 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.0245/0.9748, allocations: 6.454 MB / 0.6846 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01672/0.9915, allocations: 4.886 MB / 0.6894 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9916, allocations: 0 / 0.6894 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008594/1, allocations: 2.717 MB / 0.692 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.003, allocations: 340.5 kB / 0.6924 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06151/1.064, allocations: 18.56 MB / 0.7105 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.065, allocations: 1.117 MB / 0.7116 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002693/1.068, allocations: 0.7249 MB / 0.7123 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.07, allocations: 486.9 kB / 0.7127 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/1.07, allocations: 0 / 0.7127 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4086/1.479, allocations: 66.74 MB / 0.7779 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/14, allocations: 1.594 kB / 0.7779 GB, free: 225.9 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)