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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 79.78 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4896/0.4896, allocations: 48.78 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.64e-05, allocations: 4.219 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1273, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.985/7.113, allocations: 2.829 GB / 3.304 GB, free: 123.4 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/7.113, allocations: 77.98 kB / 3.304 GB, free: 123.4 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.3752/7.488, allocations: 143.9 MB / 3.444 GB, free: 35.23 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.014e-06/7.488, allocations: 0 / 3.444 GB, free: 35.23 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.948e-05/7.488, allocations: 16 kB / 3.444 GB, free: 35.21 MB / 0.5108 GB 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.01126/7.5, allocations: 2.507 MB / 3.447 GB, free: 32.66 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/7.5, allocations: 8.031 kB / 3.447 GB, free: 32.65 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/7.501, allocations: 243 kB / 3.447 GB, free: 32.41 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/7.503, allocations: 0.6023 MB / 3.447 GB, free: 31.77 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009063/7.503, allocations: 490.2 kB / 3.448 GB, free: 31.26 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/7.504, allocations: 43.95 kB / 3.448 GB, free: 31.22 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004275/7.508, allocations: 3.135 MB / 3.451 GB, free: 28.08 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/7.511, allocations: 2.145 MB / 3.453 GB, free: 25.92 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/7.511, allocations: 7.922 kB / 3.453 GB, free: 25.91 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/7.511, allocations: 0 / 3.453 GB, free: 25.91 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/7.511, allocations: 41.98 kB / 3.453 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/7.524, allocations: 8.715 MB / 3.462 GB, free: 16.7 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/7.526, allocations: 1.52 MB / 3.463 GB, free: 15.18 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/7.527, allocations: 1.202 MB / 3.464 GB, free: 13.97 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5171/8.044, allocations: 88.45 MB / 3.551 GB, free: 39.16 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/8.044, allocations: 45.06 kB / 3.551 GB, free: 39.12 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=88): time 3.176e-06/8.044, allocations: 0 / 3.551 GB, free: 39.12 MB / 0.5108 GB Notification: Performance of matching and sorting (n=88): time 0.007558/8.052, allocations: 2.273 MB / 3.553 GB, free: 39.07 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/8.052, allocations: 61.56 kB / 3.553 GB, free: 39.01 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/8.052, allocations: 171.6 kB / 3.553 GB, free: 38.91 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/8.053, allocations: 25.7 kB / 3.553 GB, free: 38.88 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/8.053, allocations: 259.4 kB / 3.554 GB, free: 38.76 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/8.053, allocations: 289.2 kB / 3.554 GB, free: 38.61 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/8.053, allocations: 0 / 3.554 GB, free: 38.61 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001027/8.053, allocations: 355.1 kB / 3.554 GB, free: 38.29 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/8.055, allocations: 1.087 MB / 3.555 GB, free: 38.29 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/8.057, allocations: 1.177 MB / 3.556 GB, free: 38.2 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/8.059, allocations: 0.7694 MB / 3.557 GB, free: 38.19 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/8.059, allocations: 6.844 kB / 3.557 GB, free: 38.19 MB / 0.5108 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004312/8.063, allocations: 2.137 MB / 3.559 GB, free: 38.12 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/8.063, allocations: 7.812 kB / 3.559 GB, free: 38.12 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/8.063, allocations: 0 / 3.559 GB, free: 38.12 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/8.063, allocations: 7.5 kB / 3.559 GB, free: 38.12 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/8.067, allocations: 1.076 MB / 3.56 GB, free: 38.07 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/8.067, allocations: 7 kB / 3.56 GB, free: 38.07 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/8.071, allocations: 0.8611 MB / 3.561 GB, free: 38.01 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/8.071, allocations: 92.58 kB / 3.561 GB, free: 38.01 MB / 0.5108 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 () * 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.0005659/8.072, allocations: 119.4 kB / 3.561 GB, free: 37.9 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004776/8.076, allocations: 2.087 MB / 3.563 GB, free: 37.83 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/8.077, allocations: 42.22 kB / 3.563 GB, free: 37.81 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/8.083, allocations: 4.081 MB / 3.567 GB, free: 37.57 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005568/8.089, allocations: 3.513 MB / 3.571 GB, free: 37.38 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/8.089, allocations: 3.594 kB / 3.571 GB, free: 37.38 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/8.089, allocations: 7.656 kB / 3.571 GB, free: 37.38 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/8.1, allocations: 6.627 MB / 3.577 GB, free: 36.65 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/8.1, allocations: 0 / 3.577 GB, free: 36.65 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/8.104, allocations: 1.056 MB / 3.578 GB, free: 36.61 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.562e-05/8.104, allocations: 3.75 kB / 3.578 GB, free: 36.61 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/8.104, allocations: 76.67 kB / 3.578 GB, free: 36.61 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/8.104, allocations: 6.422 kB / 3.578 GB, free: 36.61 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/8.104, allocations: 6.438 kB / 3.578 GB, free: 36.6 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005049/8.109, allocations: 2.793 MB / 3.581 GB, free: 36.32 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/8.109, allocations: 180.7 kB / 3.581 GB, free: 36.19 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/8.11, allocations: 3.891 kB / 3.581 GB, free: 36.19 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/8.113, allocations: 0.8313 MB / 3.582 GB, free: 36.13 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/8.113, allocations: 151 kB / 3.582 GB, free: 36.13 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/8.114, allocations: 93.02 kB / 3.582 GB, free: 36.13 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001484/8.114, allocations: 131.3 kB / 3.582 GB, free: 36.05 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.41e-07/8.114, allocations: 0 / 3.582 GB, free: 36.05 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006373/8.12, allocations: 1.279 MB / 3.584 GB, free: 36.04 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01433/8.134, allocations: 4.704 MB / 3.588 GB, free: 35.03 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.005422/8.14, allocations: 2.734 MB / 3.591 GB, free: 34.97 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/8.14, allocations: 6.781 kB / 3.591 GB, free: 34.97 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/8.143, allocations: 1.62 MB / 3.593 GB, free: 34.96 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/8.145, allocations: 233.8 kB / 3.593 GB, free: 34.95 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/8.158, allocations: 3.757 MB / 3.596 GB, free: 34.38 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/8.159, allocations: 1.127 MB / 3.598 GB, free: 33.67 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.003095/8.162, allocations: 0.6652 MB / 3.598 GB, free: 33.6 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/8.164, allocations: 481.5 kB / 3.599 GB, free: 33.59 MB / 0.5108 GB Notification: Performance of SimCode: time 1.443e-06/8.164, allocations: 0 / 3.599 GB, free: 33.59 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/8.271, allocations: 52.13 MB / 3.65 GB, free: 12.39 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/8.271, allocations: 165 kB / 3.65 GB, free: 12.2 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/11.87, allocations: 4.031 kB / 3.65 GB, free: 12.19 MB / 0.5108 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)