Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.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.TestFlowDependentHeatTransferCoefficient2ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 104.4 kB / 16.92 MB, free: 6.188 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.001078/0.001078, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.247/1.247, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2564/0.2564, allocations: 48.84 MB / 319.9 MB, free: 11.09 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.00145/0.00145, allocations: 70.88 kB / 390.1 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08389, allocations: 59.16 MB / 449.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.02061/0.1045, allocations: 19.03 MB / 468.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009509/0.1141, allocations: 8.725 MB / 477 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1142, allocations: 7.938 kB / 477 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1146, allocations: 119.3 kB / 477.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.1149, allocations: 147.1 kB / 477.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00749/0.1224, allocations: 3.61 MB / 480.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1238, allocations: 1.778 MB / 482.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.124, allocations: 109.3 kB / 482.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.1245, allocations: 0.5732 MB / 483.3 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.1254, allocations: 0.7092 MB / 484 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.1256, allocations: 132 kB / 484.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009045/0.1347, allocations: 6.056 MB / 490.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.135, allocations: 423.1 kB / 490.6 MB, free: 240 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.1356, allocations: 0.51 MB / 491.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.1413, allocations: 4.495 MB / 495.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1414, allocations: 0 / 495.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1414, allocations: 0 / 495.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.1414, allocations: 0 / 495.6 MB, free: 11.22 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.008345/0.1497, allocations: 2.34 MB / 498 MB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1498, allocations: 15.89 kB / 498 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006942/0.1505, allocations: 144.1 kB / 498.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.1512, allocations: 0.5064 MB / 498.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000928/0.1522, allocations: 457.5 kB / 499.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.1524, allocations: 59.98 kB / 499.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008204/0.1606, allocations: 3.101 MB / 0.4905 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1607, allocations: 11.94 kB / 0.4905 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.1608, allocations: 20 kB / 0.4905 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/0.1609, allocations: 45.3 kB / 0.4906 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.1752, allocations: 4.828 MB / 0.4953 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.1896, allocations: 9.928 MB / 0.505 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007385/0.197, allocations: 2.398 MB / 0.5073 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006281/0.2033, allocations: 2.078 MB / 0.5093 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.224/0.4273, allocations: 34.62 MB / 0.5431 GB, free: 70.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.4274, allocations: 40.97 kB / 0.5432 GB, free: 70.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.896e-06/0.4274, allocations: 0 / 0.5432 GB, free: 70.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.01914/0.4466, allocations: 5.889 MB / 0.5489 GB, free: 69.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.4466, allocations: 62.33 kB / 0.549 GB, free: 69.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.4469, allocations: 251.8 kB / 0.5492 GB, free: 69.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.447, allocations: 34.7 kB / 0.5493 GB, free: 69.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4471, allocations: 236.4 kB / 0.5495 GB, free: 69.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.4474, allocations: 215.2 kB / 0.5497 GB, free: 69.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005412/0.4479, allocations: 219.3 kB / 0.5499 GB, free: 69.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.448, allocations: 344.5 kB / 0.5502 GB, free: 68.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005945/0.4539, allocations: 1.992 MB / 0.5522 GB, free: 67.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005765/0.4597, allocations: 2.091 MB / 0.5542 GB, free: 66.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009983/0.4697, allocations: 3.073 MB / 0.5572 GB, free: 65.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4697, allocations: 0 / 0.5572 GB, free: 65.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01129/0.481, allocations: 3.736 MB / 0.5609 GB, free: 62.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.481, allocations: 8 kB / 0.5609 GB, free: 62.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4811, allocations: 4.219 kB / 0.5609 GB, free: 62.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.4811, allocations: 14.48 kB / 0.5609 GB, free: 62.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/0.4843, allocations: 0.7512 MB / 0.5616 GB, free: 61.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4843, allocations: 4 kB / 0.5616 GB, free: 61.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.4869, allocations: 0.5821 MB / 0.5622 GB, free: 60.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.4871, allocations: 71.84 kB / 0.5623 GB, free: 60.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005745/0.4929, allocations: 2.172 MB / 0.5644 GB, free: 58.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005514/0.4984, allocations: 2.09 MB / 0.5664 GB, free: 56.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009796/0.5082, allocations: 3.065 MB / 0.5694 GB, free: 53.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.5082, allocations: 0 / 0.5694 GB, free: 53.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01112/0.5193, allocations: 3.735 MB / 0.5731 GB, free: 49.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.5194, allocations: 8 kB / 0.5731 GB, free: 49.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5194, allocations: 6.797 kB / 0.5731 GB, free: 49.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.381e-06/0.5194, allocations: 8.938 kB / 0.5731 GB, free: 49.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/0.5225, allocations: 0.7512 MB / 0.5738 GB, free: 48.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5225, allocations: 9.422 kB / 0.5738 GB, free: 48.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.5251, allocations: 0.5809 MB / 0.5744 GB, free: 48.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.5253, allocations: 75.83 kB / 0.5745 GB, free: 48.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003731/0.5257, allocations: 217.2 kB / 0.5747 GB, free: 47.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.5259, allocations: 35.62 kB / 0.5747 GB, free: 47.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.5381, allocations: 5.331 MB / 0.5799 GB, free: 42.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01152/0.5497, allocations: 4.923 MB / 0.5847 GB, free: 37.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5497, allocations: 0 / 0.5847 GB, free: 37.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5497, allocations: 3.984 kB / 0.5847 GB, free: 37.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.5656, allocations: 7.654 MB / 0.5922 GB, free: 29.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5656, allocations: 4 kB / 0.5922 GB, free: 29.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/0.5687, allocations: 0.7355 MB / 0.5929 GB, free: 29.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.5687, allocations: 0 / 0.5929 GB, free: 29.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.5689, allocations: 67.84 kB / 0.593 GB, free: 29.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.5689, allocations: 10.19 kB / 0.593 GB, free: 29.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5689, allocations: 3.984 kB / 0.593 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.5805, allocations: 4.312 MB / 0.5972 GB, free: 24.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.5806, allocations: 166.2 kB / 0.5974 GB, free: 24.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.5808, allocations: 12 kB / 0.5974 GB, free: 24.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/0.5834, allocations: 0.5598 MB / 0.5979 GB, free: 24.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.5837, allocations: 112.3 kB / 0.598 GB, free: 23.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.5838, allocations: 71.83 kB / 0.5981 GB, free: 23.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.584, allocations: 186 kB / 0.5983 GB, free: 23.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.584, allocations: 0 / 0.5983 GB, free: 23.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003103/0.5871, allocations: 1.317 MB / 0.5996 GB, free: 22.42 MB / 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: 14 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.003518/0.5906, allocations: 0.9694 MB / 0.6005 GB, free: 21.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01843/0.6091, allocations: 6.845 MB / 0.6072 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6091, allocations: 0 / 0.6072 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005962/0.615, allocations: 2.428 MB / 0.6096 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6165, allocations: 233.2 kB / 0.6098 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/0.6259, allocations: 3.993 MB / 0.6137 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.6263, allocations: 1.045 MB / 0.6147 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002301/0.6286, allocations: 0.8851 MB / 0.6156 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009382/0.6295, allocations: 175 kB / 0.6158 GB, free: 5.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6295, allocations: 0 / 0.6158 GB, free: 5.977 MB / 414.1 MB Notification: Performance of Templates: time 0.06808/0.6976, allocations: 51.92 MB / 0.6665 GB, free: 1.949 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)