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.00116/0.001161, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.00102/0.00102, allocations: 188.4 kB / 18.67 MB, free: 4.41 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.341/1.341, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2717/0.2717, allocations: 48.85 MB / 320.7 MB, free: 11.01 MB / 270.1 MB 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.001659/0.001659, allocations: 71.89 kB / 451.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1165, allocations: 59.15 MB / 0.4984 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.02313/0.1397, allocations: 19.05 MB / 0.517 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.151, allocations: 8.713 MB / 0.5255 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.1513, allocations: 3.938 kB / 0.5256 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.1518, allocations: 123.3 kB / 0.5257 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.1523, allocations: 151.1 kB / 0.5258 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2614/0.4137, allocations: 3.592 MB / 0.5293 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.4157, allocations: 1.785 MB / 0.5311 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.4159, allocations: 106.6 kB / 0.5312 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.417, allocations: 0.5643 MB / 0.5317 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.4183, allocations: 0.7135 MB / 0.5324 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.4186, allocations: 129.2 kB / 0.5325 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/0.4339, allocations: 6.2 MB / 0.5386 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.4349, allocations: 421.7 kB / 0.539 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.436, allocations: 0.5026 MB / 0.5395 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.4495, allocations: 4.501 MB / 0.5439 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4495, allocations: 1.156 kB / 0.5439 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4495, allocations: 5.875 kB / 0.5439 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.4495, allocations: 0 / 0.5439 GB, free: 10.68 MB / 414.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.01125/0.4608, allocations: 2.342 MB / 0.5462 GB, free: 9.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4609, allocations: 15.83 kB / 0.5462 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.4617, allocations: 148.9 kB / 0.5463 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/0.4625, allocations: 0.5072 MB / 0.5468 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008942/0.4634, allocations: 454.4 kB / 0.5473 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.4637, allocations: 59.06 kB / 0.5473 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008037/0.4717, allocations: 3.104 MB / 0.5503 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4718, allocations: 1.438 kB / 0.5503 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.4719, allocations: 26.14 kB / 0.5504 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.472, allocations: 49.78 kB / 0.5504 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.486, allocations: 4.826 MB / 0.5551 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.5002, allocations: 9.898 MB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.5075, allocations: 2.41 MB / 0.5672 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006063/0.5136, allocations: 2.072 MB / 0.5692 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07461/0.5882, allocations: 34.77 MB / 0.6031 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.5883, allocations: 39.12 kB / 0.6032 GB, free: 4.227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=59): time 3.777e-06/0.5883, allocations: 0 / 0.6032 GB, free: 4.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=59): time 0.02068/0.609, allocations: 5.897 MB / 0.6089 GB, free: 14.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.6091, allocations: 55.97 kB / 0.609 GB, free: 14.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.6095, allocations: 256.8 kB / 0.6092 GB, free: 14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.6098, allocations: 41.55 kB / 0.6093 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.61, allocations: 232.6 kB / 0.6095 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000419/0.6104, allocations: 210.6 kB / 0.6097 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/0.6111, allocations: 221.9 kB / 0.6099 GB, free: 13.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6113, allocations: 342.8 kB / 0.6102 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006108/0.6174, allocations: 1.996 MB / 0.6122 GB, free: 10.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00635/0.6238, allocations: 2.085 MB / 0.6142 GB, free: 8.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.6349, allocations: 3.067 MB / 0.6172 GB, free: 5.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6349, allocations: 0 / 0.6172 GB, free: 5.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01271/0.6476, allocations: 3.75 MB / 0.6209 GB, free: 1.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.6477, allocations: 7.906 kB / 0.6209 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6477, allocations: 4 kB / 0.6209 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.6477, allocations: 8.219 kB / 0.6209 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/0.6514, allocations: 0.7476 MB / 0.6216 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.6514, allocations: 10.72 kB / 0.6216 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.6545, allocations: 0.5821 MB / 0.6222 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.6548, allocations: 75.83 kB / 0.6223 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006408/0.6612, allocations: 2.168 MB / 0.6244 GB, free: 14.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006119/0.6674, allocations: 2.09 MB / 0.6264 GB, free: 12.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01089/0.6783, allocations: 3.063 MB / 0.6294 GB, free: 9.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.712e-06/0.6783, allocations: 0 / 0.6294 GB, free: 9.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01273/0.6911, allocations: 3.742 MB / 0.6331 GB, free: 5.422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6911, allocations: 4 kB / 0.6331 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6911, allocations: 4 kB / 0.6331 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6911, allocations: 8.219 kB / 0.6331 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.6948, allocations: 0.7547 MB / 0.6338 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.6948, allocations: 8.859 kB / 0.6338 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.6979, allocations: 0.577 MB / 0.6344 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.6983, allocations: 67.84 kB / 0.6345 GB, free: 4.008 MB / 494.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.0006626/0.699, allocations: 219.3 kB / 0.6347 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.6994, allocations: 44.33 kB / 0.6347 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.7137, allocations: 5.321 MB / 0.6399 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01368/0.7274, allocations: 4.919 MB / 0.6447 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.7275, allocations: 0 / 0.6447 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.7275, allocations: 7.984 kB / 0.6447 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/0.7469, allocations: 7.649 MB / 0.6522 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.747, allocations: 0 / 0.6522 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003824/0.7508, allocations: 0.7362 MB / 0.6529 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.7509, allocations: 7.984 kB / 0.6529 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.7512, allocations: 63.84 kB / 0.653 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.7512, allocations: 4 kB / 0.653 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7512, allocations: 4 kB / 0.653 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.7641, allocations: 4.315 MB / 0.6572 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.7644, allocations: 167.8 kB / 0.6574 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.7647, allocations: 15.91 kB / 0.6574 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/0.7676, allocations: 0.5539 MB / 0.6579 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.768, allocations: 108.3 kB / 0.658 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.7682, allocations: 71.78 kB / 0.6581 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002221/0.7684, allocations: 193.1 kB / 0.6583 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7685, allocations: 0 / 0.6583 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005822/0.7743, allocations: 1.315 MB / 0.6596 GB, free: 10.2 MB / 0.5137 GB 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.006964/0.7813, allocations: 0.9787 MB / 0.6605 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02034/0.8016, allocations: 6.619 MB / 0.667 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.8017, allocations: 1.031 kB / 0.667 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006882/0.8086, allocations: 2.421 MB / 0.6693 GB, free: 308 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.8103, allocations: 237.2 kB / 0.6696 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.8213, allocations: 4.016 MB / 0.6735 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.8219, allocations: 1.043 MB / 0.6745 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.8235, allocations: 203 kB / 0.6747 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of SimCode: time 6.02e-07/0.8235, allocations: 0 / 0.6747 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.04732/0.8708, allocations: 32.94 MB / 0.7069 GB, free: 9.793 MB / 0.5606 GB 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)