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.001602/0.001603, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001548/0.001548, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.835/2.835, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6517/0.6517, allocations: 48.77 MB / 320.4 MB, free: 3.84 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 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.0005626/0.0005628, allocations: 12 kB / 391.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1626, allocations: 60.25 MB / 451.5 MB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.4095/0.5722, allocations: 13.73 MB / 465.2 MB, free: 43.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.5944, allocations: 11.53 MB / 476.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.5949, allocations: 7.125 kB / 476.8 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.5957, allocations: 125.3 kB / 476.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.5962, allocations: 124.3 kB / 477 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02539/0.6216, allocations: 4.09 MB / 481.1 MB, free: 33.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.6248, allocations: 1.151 MB / 482.2 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/0.6254, allocations: 106.4 kB / 482.3 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.6276, allocations: 0.5043 MB / 482.8 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.6308, allocations: 0.6569 MB / 483.5 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.6319, allocations: 73.78 kB / 483.6 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03334/0.6653, allocations: 6.627 MB / 490.2 MB, free: 31.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001383/0.6667, allocations: 378.5 kB / 490.6 MB, free: 30.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009894/0.6677, allocations: 180.5 kB / 490.7 MB, free: 30.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.6805, allocations: 3.411 MB / 494.2 MB, free: 28.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6806, allocations: 0 / 494.2 MB, free: 28.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.559e-06/0.6806, allocations: 1.25 kB / 494.2 MB, free: 28.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.6807, allocations: 0 / 494.2 MB, free: 28.72 MB / 382.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.01753/0.6982, allocations: 2.6 MB / 496.8 MB, free: 27.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.6983, allocations: 10.16 kB / 496.8 MB, free: 27.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008536/0.6992, allocations: 146.1 kB / 496.9 MB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/0.7029, allocations: 304.6 kB / 497.2 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.7053, allocations: 0.5761 MB / 497.8 MB, free: 26.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001868/0.7072, allocations: 0.5089 MB / 498.3 MB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.7078, allocations: 72.06 kB / 498.4 MB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.7255, allocations: 3.86 MB / 0.4905 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.7256, allocations: 0 / 0.4905 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/0.7259, allocations: 34.47 kB / 0.4905 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.7261, allocations: 51.28 kB / 0.4905 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/0.7542, allocations: 6.395 MB / 0.4968 GB, free: 20.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.7811, allocations: 10.58 MB / 0.5071 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.7934, allocations: 3.228 MB / 0.5103 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1655/0.9589, allocations: 53.96 MB / 0.563 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/0.9591, allocations: 51.5 kB / 0.563 GB, free: 9.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 5.019e-06/0.9591, allocations: 0 / 0.563 GB, free: 9.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.03495/0.994, allocations: 8.183 MB / 0.571 GB, free: 1.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.9942, allocations: 68.41 kB / 0.5711 GB, free: 1.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.9948, allocations: 248.9 kB / 0.5713 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000761/0.9956, allocations: 37.7 kB / 0.5713 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.9959, allocations: 252.5 kB / 0.5716 GB, free: 0.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008648/0.9968, allocations: 299.6 kB / 0.5719 GB, free: 252 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.997, allocations: 16 kB / 0.5719 GB, free: 236 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003471/0.9974, allocations: 354.8 kB / 0.5722 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01189/1.009, allocations: 2.644 MB / 0.5748 GB, free: 13.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/1.023, allocations: 2.747 MB / 0.5775 GB, free: 10.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.035, allocations: 2.173 MB / 0.5796 GB, free: 8.273 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.035, allocations: 0 / 0.5796 GB, free: 8.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02703/1.062, allocations: 5.133 MB / 0.5846 GB, free: 3.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/1.062, allocations: 4 kB / 0.5846 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.062, allocations: 4 kB / 0.5846 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/1.062, allocations: 8 kB / 0.5846 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007888/1.07, allocations: 1.066 MB / 0.5857 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.805e-05/1.07, allocations: 16.7 kB / 0.5857 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006428/1.077, allocations: 0.8734 MB / 0.5865 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000697/1.077, allocations: 91.81 kB / 0.5866 GB, free: 1.07 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001205/1.079, allocations: 277.5 kB / 0.5869 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/1.079, allocations: 43.53 kB / 0.5869 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03166/1.111, allocations: 7.53 MB / 0.5943 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02965/1.14, allocations: 6.909 MB / 0.601 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/1.141, allocations: 3.984 kB / 0.601 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/1.141, allocations: 3.984 kB / 0.601 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03639/1.177, allocations: 10.21 MB / 0.611 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/1.177, allocations: 0 / 0.611 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007283/1.184, allocations: 1.053 MB / 0.612 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.409e-05/1.184, allocations: 4 kB / 0.612 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005287/1.185, allocations: 79.81 kB / 0.6121 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/1.185, allocations: 4 kB / 0.6121 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.185, allocations: 0 / 0.6121 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02702/1.212, allocations: 5.842 MB / 0.6178 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/1.213, allocations: 187.6 kB / 0.618 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006947/1.214, allocations: 16 kB / 0.618 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00627/1.22, allocations: 0.8427 MB / 0.6189 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.221, allocations: 160.5 kB / 0.619 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004667/1.221, allocations: 85.75 kB / 0.6191 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004114/1.222, allocations: 176.5 kB / 0.6193 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.222, allocations: 4 kB / 0.6193 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008853/1.231, allocations: 1.276 MB / 0.6205 GB, free: 14.23 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03958/1.27, allocations: 7.577 MB / 0.6279 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02768/1.298, allocations: 5.868 MB / 0.6336 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.298, allocations: 3.938 kB / 0.6336 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.4374/1.736, allocations: 3.202 MB / 0.6368 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.739, allocations: 306.1 kB / 0.6371 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06909/1.808, allocations: 17.16 MB / 0.6538 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.809, allocations: 1.141 MB / 0.6549 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005014/1.815, allocations: 0.7183 MB / 0.6556 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002963/1.818, allocations: 486.7 kB / 0.6561 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/1.818, allocations: 1.656 kB / 0.6561 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.967, allocations: 63.79 MB / 0.7184 GB, free: 98.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.967, allocations: 193.2 kB / 0.7186 GB, free: 98.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/9.309, allocations: 0 / 0.7186 GB, free: 98.75 MB / 0.4981 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/linux/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) Environment - environmentSimulation: