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.001628/0.001627, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001753/0.001753, allocations: 195 kB / 18 MB, free: 5.105 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.314/1.314, 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.2692/0.2692, allocations: 48.84 MB / 320.1 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.001639/0.00164, allocations: 67.91 kB / 450.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 59.14 MB / 0.4973 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01828/0.1235, allocations: 16.1 MB / 0.513 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.223/0.3466, allocations: 13.56 MB / 0.5262 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.347, allocations: 2.312 kB / 0.5262 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.3477, allocations: 129.8 kB / 0.5264 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.3484, allocations: 206.9 kB / 0.5266 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01567/0.3641, allocations: 5.321 MB / 0.5318 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.366, allocations: 1.947 MB / 0.5337 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.3662, allocations: 114.5 kB / 0.5338 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009297/0.3672, allocations: 0.6213 MB / 0.5344 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.3686, allocations: 0.7905 MB / 0.5351 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.3688, allocations: 137.9 kB / 0.5353 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01446/0.3833, allocations: 6.78 MB / 0.5419 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.3842, allocations: 475.5 kB / 0.5423 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.3854, allocations: 0.5753 MB / 0.5429 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.3977, allocations: 5.026 MB / 0.5478 GB, free: 4.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3977, allocations: 1.188 kB / 0.5478 GB, free: 4.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3978, allocations: 0 / 0.5478 GB, free: 4.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.3978, allocations: 0 / 0.5478 GB, free: 4.438 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.01021/0.408, allocations: 2.593 MB / 0.5503 GB, free: 2.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4081, allocations: 13.92 kB / 0.5504 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.4083, allocations: 149.8 kB / 0.5505 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.4101, allocations: 293.8 kB / 0.5508 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.411, allocations: 0.5852 MB / 0.5514 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/0.4118, allocations: 464.8 kB / 0.5518 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.4121, allocations: 67.06 kB / 0.5519 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008051/0.4202, allocations: 3.371 MB / 0.5552 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4202, allocations: 3.703 kB / 0.5552 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.4204, allocations: 33.5 kB / 0.5552 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.4205, allocations: 54.56 kB / 0.5552 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.4349, allocations: 5.397 MB / 0.5605 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.4511, allocations: 10.08 MB / 0.5704 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/0.4583, allocations: 2.74 MB / 0.573 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005889/0.4642, allocations: 2.277 MB / 0.5753 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1069/0.5712, allocations: 53.65 MB / 0.6277 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.5712, allocations: 42.56 kB / 0.6277 GB, free: 5.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.576e-06/0.5713, allocations: 3.844 kB / 0.6277 GB, free: 5.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.02044/0.5917, allocations: 6.634 MB / 0.6342 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5918, allocations: 64.39 kB / 0.6342 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.5921, allocations: 250.6 kB / 0.6345 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.5924, allocations: 41.7 kB / 0.6345 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.5925, allocations: 240.5 kB / 0.6347 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.593, allocations: 313.7 kB / 0.635 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007642/0.5938, allocations: 278.3 kB / 0.6353 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.594, allocations: 354.8 kB / 0.6356 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005767/0.5997, allocations: 2.143 MB / 0.6377 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005987/0.6057, allocations: 2.251 MB / 0.6399 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.6172, allocations: 3.403 MB / 0.6433 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.6172, allocations: 0 / 0.6433 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01189/0.6291, allocations: 4.139 MB / 0.6473 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.6292, allocations: 11.91 kB / 0.6473 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6292, allocations: 0 / 0.6473 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.6292, allocations: 11.94 kB / 0.6473 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/0.6329, allocations: 0.819 MB / 0.6481 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.6329, allocations: 11.98 kB / 0.6481 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/0.6358, allocations: 0.604 MB / 0.6487 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.6361, allocations: 91.81 kB / 0.6488 GB, free: 15.49 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.0007919/0.6369, allocations: 266.6 kB / 0.6491 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.6374, allocations: 51.44 kB / 0.6491 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.6522, allocations: 6.521 MB / 0.6555 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01369/0.6659, allocations: 5.936 MB / 0.6613 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6659, allocations: 4 kB / 0.6613 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.666, allocations: 3.984 kB / 0.6613 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/0.6862, allocations: 9.104 MB / 0.6702 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6863, allocations: 0 / 0.6702 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/0.6898, allocations: 0.8052 MB / 0.671 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.6898, allocations: 5.812 kB / 0.671 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003165/0.6902, allocations: 79.81 kB / 0.671 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.6902, allocations: 4 kB / 0.6711 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6902, allocations: 2.625 kB / 0.6711 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/0.7029, allocations: 4.837 MB / 0.6758 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.7032, allocations: 195.4 kB / 0.676 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/0.7035, allocations: 20 kB / 0.676 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/0.7063, allocations: 0.5617 MB / 0.6765 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/0.7067, allocations: 140.6 kB / 0.6767 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/0.7069, allocations: 87.81 kB / 0.6768 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002091/0.7072, allocations: 190 kB / 0.6769 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7072, allocations: 0 / 0.6769 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004376/0.7115, allocations: 1.28 MB / 0.6782 GB, free: 1.32 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.0187/0.7303, allocations: 6.429 MB / 0.6845 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01285/0.7431, allocations: 4.892 MB / 0.6892 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7432, allocations: 0 / 0.6892 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006795/0.75, allocations: 2.71 MB / 0.6919 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.7522, allocations: 345.3 kB / 0.6922 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04657/0.7988, allocations: 18.53 MB / 0.7103 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.7996, allocations: 1.121 MB / 0.7114 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002259/0.8018, allocations: 0.7102 MB / 0.7121 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.8033, allocations: 490.9 kB / 0.7126 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.8033, allocations: 0 / 0.7126 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3051/1.108, allocations: 67.57 MB / 0.7786 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.6, allocations: 5.344 kB / 0.7786 GB, free: 225.5 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)