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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 95.27 kB / 16.3 MB, free: 6.461 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.001388/0.001388, allocations: 174.8 kB / 17.19 MB, free: 6.348 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.263/1.263, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2487/0.2487, allocations: 48.78 MB / 320.4 MB, free: 11.31 MB / 270.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.0004738/0.0004738, allocations: 13 kB / 391.1 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07882, allocations: 60.27 MB / 451.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01395/0.0928, allocations: 13.73 MB / 465.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.1051, allocations: 11.53 MB / 476.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1053, allocations: 0 / 476.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1056, allocations: 127.4 kB / 476.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.1059, allocations: 127.6 kB / 476.9 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00977/0.1156, allocations: 4.091 MB / 481 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.1168, allocations: 1.148 MB / 482.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1171, allocations: 101.2 kB / 482.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.1175, allocations: 0.5108 MB / 482.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.1184, allocations: 0.651 MB / 483.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.1185, allocations: 72 kB / 483.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.1296, allocations: 6.622 MB / 490.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.1301, allocations: 391.1 kB / 490.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1304, allocations: 185.3 kB / 490.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004827/0.1352, allocations: 3.403 MB / 494.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1352, allocations: 0 / 494.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1352, allocations: 0 / 494.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1352, allocations: 0 / 494.1 MB, free: 14.8 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.008608/0.1438, allocations: 2.595 MB / 496.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1439, allocations: 16.02 kB / 496.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.1455, allocations: 298.8 kB / 497 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1466, allocations: 0.576 MB / 497.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.1476, allocations: 0.5099 MB / 498.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.1478, allocations: 72 kB / 498.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009337/0.1572, allocations: 3.863 MB / 0.4902 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1572, allocations: 0 / 0.4902 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.1574, allocations: 32 kB / 0.4903 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.1575, allocations: 45.98 kB / 0.4903 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.1737, allocations: 6.389 MB / 0.4965 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.1896, allocations: 10.59 MB / 0.5069 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008342/0.198, allocations: 3.227 MB / 0.51 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2598/0.4579, allocations: 53.96 MB / 0.5627 GB, free: 56.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4579, allocations: 41.5 kB / 0.5628 GB, free: 56.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.458, allocations: 4 kB / 0.5628 GB, free: 56.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.02077/0.4787, allocations: 8.189 MB / 0.5708 GB, free: 51.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.4788, allocations: 64.41 kB / 0.5708 GB, free: 50.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.479, allocations: 250.9 kB / 0.5711 GB, free: 50.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.4792, allocations: 41.7 kB / 0.5711 GB, free: 50.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4793, allocations: 246.3 kB / 0.5713 GB, free: 50.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.4796, allocations: 305 kB / 0.5716 GB, free: 50.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.4798, allocations: 16 kB / 0.5717 GB, free: 50.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.4799, allocations: 358.6 kB / 0.572 GB, free: 49.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006136/0.486, allocations: 2.636 MB / 0.5746 GB, free: 47.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006366/0.4924, allocations: 2.754 MB / 0.5773 GB, free: 44.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005405/0.4978, allocations: 2.174 MB / 0.5794 GB, free: 42.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4978, allocations: 0 / 0.5794 GB, free: 42.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01211/0.5099, allocations: 5.13 MB / 0.5844 GB, free: 37.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.51, allocations: 4 kB / 0.5844 GB, free: 37.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.51, allocations: 4 kB / 0.5844 GB, free: 37.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.5101, allocations: 4 kB / 0.5844 GB, free: 37.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/0.5138, allocations: 1.073 MB / 0.5854 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.5138, allocations: 8 kB / 0.5855 GB, free: 35.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.517, allocations: 0.8783 MB / 0.5863 GB, free: 35.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.5172, allocations: 91.52 kB / 0.5864 GB, free: 35.02 MB / 414.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.0005397/0.5178, allocations: 267.3 kB / 0.5867 GB, free: 34.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.518, allocations: 51.48 kB / 0.5867 GB, free: 34.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.532, allocations: 7.517 MB / 0.594 GB, free: 27.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01329/0.5454, allocations: 6.925 MB / 0.6008 GB, free: 20.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.5454, allocations: 0 / 0.6008 GB, free: 20.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5454, allocations: 3.984 kB / 0.6008 GB, free: 20.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.564, allocations: 10.2 MB / 0.6108 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.564, allocations: 0 / 0.6108 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/0.5676, allocations: 1.053 MB / 0.6118 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.5676, allocations: 8 kB / 0.6118 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.5678, allocations: 83.56 kB / 0.6119 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.5678, allocations: 4 kB / 0.6119 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5678, allocations: 0 / 0.6119 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.5805, allocations: 5.841 MB / 0.6176 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.5807, allocations: 191.6 kB / 0.6178 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.581, allocations: 16 kB / 0.6178 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00301/0.584, allocations: 0.8403 MB / 0.6186 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.5843, allocations: 148.6 kB / 0.6188 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/0.5845, allocations: 83.81 kB / 0.6188 GB, free: 1.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.5846, allocations: 180.5 kB / 0.619 GB, free: 1.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5846, allocations: 0 / 0.619 GB, free: 1.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002879/0.5875, allocations: 1.284 MB / 0.6203 GB, free: 320 kB / 414.1 MB 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.004175/0.5917, allocations: 1.147 MB / 0.6214 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01492/0.6066, allocations: 5.869 MB / 0.6271 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6067, allocations: 0 / 0.6271 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007622/0.6143, allocations: 3.207 MB / 0.6303 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.6161, allocations: 313.2 kB / 0.6305 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.6285, allocations: 5.807 MB / 0.6362 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.6291, allocations: 1.143 MB / 0.6373 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002223/0.6313, allocations: 0.7182 MB / 0.638 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.6325, allocations: 211 kB / 0.6382 GB, free: 14.03 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6325, allocations: 0 / 0.6382 GB, free: 14.03 MB / 446.1 MB Notification: Performance of Templates: time 0.0691/0.7016, allocations: 55.67 MB / 0.6926 GB, free: 6.227 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile Environment - environmentSimulation: (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) Environment - environmentSimulation: