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.001524/0.001524, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 95.11 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4359/0.4359, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.663/6.8, allocations: 2.83 GB / 3.317 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/6.801, allocations: 78.59 kB / 3.317 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3719/7.173, allocations: 146.6 MB / 3.461 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/7.173, allocations: 0 / 3.461 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.515e-05/7.173, allocations: 16 kB / 3.461 GB, free: 61.05 MB / 0.5105 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.01058/7.183, allocations: 2.531 MB / 3.463 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/7.183, allocations: 8.031 kB / 3.463 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007419/7.184, allocations: 151 kB / 3.463 GB, free: 58.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/7.186, allocations: 239 kB / 3.464 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/7.187, allocations: 0.5899 MB / 3.464 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/7.189, allocations: 0.5216 MB / 3.465 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/7.189, allocations: 72 kB / 3.465 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009111/7.198, allocations: 3.943 MB / 3.469 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/7.198, allocations: 0 / 3.469 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/7.199, allocations: 31.98 kB / 3.469 GB, free: 52.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/7.199, allocations: 45.98 kB / 3.469 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/7.213, allocations: 6.42 MB / 3.475 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/7.227, allocations: 8.826 MB / 3.483 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/7.234, allocations: 3.228 MB / 3.487 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4811/7.715, allocations: 88.13 MB / 3.573 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.451e-05/7.715, allocations: 40.16 kB / 3.573 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 4.689e-06/7.715, allocations: 0 / 3.573 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.02585/7.741, allocations: 8.154 MB / 3.581 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/7.741, allocations: 61.78 kB / 3.581 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/7.741, allocations: 222.8 kB / 3.581 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00045/7.742, allocations: 46.95 kB / 3.581 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/7.742, allocations: 246.3 kB / 3.581 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007073/7.743, allocations: 304.5 kB / 3.582 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/7.743, allocations: 16.34 kB / 3.582 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001687/7.743, allocations: 353.8 kB / 3.582 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007072/7.75, allocations: 2.666 MB / 3.585 GB, free: 60.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006957/7.757, allocations: 2.771 MB / 3.587 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/7.763, allocations: 2.202 MB / 3.589 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/7.763, allocations: 0 / 3.589 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01375/7.777, allocations: 5.18 MB / 3.594 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/7.777, allocations: 3.438 kB / 3.594 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/7.777, allocations: 7.344 kB / 3.594 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/7.777, allocations: 6.719 kB / 3.594 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/7.781, allocations: 1.073 MB / 3.595 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.313e-05/7.781, allocations: 8.234 kB / 3.595 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/7.784, allocations: 0.8782 MB / 3.596 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005066/7.785, allocations: 93.61 kB / 3.596 GB, free: 59.84 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001245/7.786, allocations: 272 kB / 3.597 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/7.787, allocations: 47.22 kB / 3.597 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/7.802, allocations: 7.158 MB / 3.604 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01381/7.816, allocations: 6.557 MB / 3.61 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/7.816, allocations: 0 / 3.61 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/7.816, allocations: 7.594 kB / 3.61 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/7.836, allocations: 9.805 MB / 3.62 GB, free: 57.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/7.836, allocations: 3.906 kB / 3.62 GB, free: 57.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003808/7.84, allocations: 1.056 MB / 3.621 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.029e-05/7.84, allocations: 6.859 kB / 3.621 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004757/7.84, allocations: 86.98 kB / 3.621 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-05/7.84, allocations: 3.781 kB / 3.621 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/7.84, allocations: 6.438 kB / 3.621 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/7.855, allocations: 5.83 MB / 3.627 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/7.855, allocations: 183.7 kB / 3.627 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/7.855, allocations: 15.47 kB / 3.627 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/7.858, allocations: 0.8405 MB / 3.628 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/7.859, allocations: 157.8 kB / 3.628 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/7.859, allocations: 90.45 kB / 3.628 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001947/7.859, allocations: 177.4 kB / 3.628 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/7.859, allocations: 0 / 3.628 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006289/7.866, allocations: 1.316 MB / 3.629 GB, free: 55.65 MB / 0.5105 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 () * Number of clocked 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.02278/7.888, allocations: 7.733 MB / 3.637 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01356/7.902, allocations: 5.903 MB / 3.643 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/7.902, allocations: 0 / 3.643 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006832/7.909, allocations: 3.203 MB / 3.646 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/7.911, allocations: 308.4 kB / 3.646 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0393/7.95, allocations: 17.2 MB / 3.663 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/7.951, allocations: 1.127 MB / 3.664 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003109/7.954, allocations: 0.6759 MB / 3.665 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/7.956, allocations: 482.7 kB / 3.665 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/7.956, allocations: 0 / 3.665 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.486/8.442, allocations: 55.3 MB / 3.719 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/8.442, allocations: 204.4 kB / 3.719 GB, free: 109 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/11.95, allocations: 0 / 3.719 GB, free: 109 MB / 0.5261 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)