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.001433/0.001433, allocations: 112.6 kB / 17.06 MB, free: 6.102 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.001621/0.001621, allocations: 199 kB / 18 MB, free: 5.18 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.278/1.278, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2597/0.2597, allocations: 48.85 MB / 320.1 MB, free: 11 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.00141/0.00141, allocations: 67.89 kB / 450.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09593, allocations: 59.17 MB / 0.4978 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01964/0.1156, allocations: 19.03 MB / 0.5164 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.1251, allocations: 8.725 MB / 0.5249 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1252, allocations: 0 / 0.5249 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.1256, allocations: 119.3 kB / 0.525 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1259, allocations: 151.1 kB / 0.5251 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1988/0.3247, allocations: 3.593 MB / 0.5287 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.3263, allocations: 1.789 MB / 0.5304 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.3265, allocations: 100.7 kB / 0.5305 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.327, allocations: 0.5683 MB / 0.5311 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009745/0.328, allocations: 0.7096 MB / 0.5317 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.3282, allocations: 130.6 kB / 0.5319 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.3391, allocations: 6.2 MB / 0.5379 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005376/0.3397, allocations: 423 kB / 0.5383 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.3404, allocations: 0.5076 MB / 0.5388 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007507/0.3479, allocations: 4.492 MB / 0.5432 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.348, allocations: 1.094 kB / 0.5432 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.348, allocations: 7.938 kB / 0.5432 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.348, allocations: 0 / 0.5432 GB, free: 10.75 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.008827/0.3568, allocations: 2.349 MB / 0.5455 GB, free: 9.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3569, allocations: 15.2 kB / 0.5455 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/0.3576, allocations: 149.1 kB / 0.5457 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/0.3585, allocations: 0.4976 MB / 0.5462 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008563/0.3593, allocations: 463.1 kB / 0.5466 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.3595, allocations: 52.81 kB / 0.5467 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007585/0.3671, allocations: 3.105 MB / 0.5497 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3672, allocations: 2.562 kB / 0.5497 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.3673, allocations: 26.59 kB / 0.5497 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/0.3674, allocations: 49.88 kB / 0.5498 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.3809, allocations: 4.826 MB / 0.5545 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.3943, allocations: 9.902 MB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/0.4014, allocations: 2.408 MB / 0.5665 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00614/0.4076, allocations: 2.075 MB / 0.5685 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07101/0.4786, allocations: 34.77 MB / 0.6025 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.4787, allocations: 43.12 kB / 0.6025 GB, free: 4.293 MB / 462.1 MB Notification: Performance of pre-optimization done (n=59): time 2.465e-06/0.4787, allocations: 0 / 0.6025 GB, free: 4.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=59): time 0.02084/0.4995, allocations: 5.89 MB / 0.6083 GB, free: 14.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.4996, allocations: 63.97 kB / 0.6083 GB, free: 14.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.4999, allocations: 256.8 kB / 0.6086 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5, allocations: 41.55 kB / 0.6086 GB, free: 14.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5002, allocations: 232.6 kB / 0.6088 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.5005, allocations: 207.4 kB / 0.609 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005714/0.501, allocations: 221.9 kB / 0.6092 GB, free: 13.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5012, allocations: 342.8 kB / 0.6096 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006399/0.5076, allocations: 1.993 MB / 0.6115 GB, free: 11.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006519/0.5141, allocations: 2.092 MB / 0.6136 GB, free: 8.887 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.5256, allocations: 3.063 MB / 0.6166 GB, free: 5.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.5257, allocations: 4.75 kB / 0.6166 GB, free: 5.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01313/0.5388, allocations: 3.746 MB / 0.6202 GB, free: 2.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5389, allocations: 7.906 kB / 0.6202 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5389, allocations: 4 kB / 0.6202 GB, free: 2.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.5389, allocations: 4 kB / 0.6202 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/0.5426, allocations: 0.7533 MB / 0.621 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.5426, allocations: 8 kB / 0.621 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.5456, allocations: 0.5817 MB / 0.6215 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.5458, allocations: 75.83 kB / 0.6216 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006656/0.5525, allocations: 2.165 MB / 0.6237 GB, free: 14.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006457/0.5589, allocations: 2.098 MB / 0.6258 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0113/0.5702, allocations: 3.063 MB / 0.6288 GB, free: 9.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.5703, allocations: 4 kB / 0.6288 GB, free: 9.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01281/0.5831, allocations: 3.736 MB / 0.6324 GB, free: 5.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5831, allocations: 4 kB / 0.6324 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5831, allocations: 4 kB / 0.6324 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.5831, allocations: 11.98 kB / 0.6324 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.5867, allocations: 0.7502 MB / 0.6332 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.5867, allocations: 8 kB / 0.6332 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.5898, allocations: 0.577 MB / 0.6337 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.5901, allocations: 71.84 kB / 0.6338 GB, free: 4.074 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.0004392/0.5905, allocations: 222.3 kB / 0.634 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.5908, allocations: 39.47 kB / 0.6341 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/0.605, allocations: 5.326 MB / 0.6393 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01346/0.6185, allocations: 4.922 MB / 0.6441 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.6185, allocations: 0 / 0.6441 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6185, allocations: 3.984 kB / 0.6441 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/0.6373, allocations: 7.649 MB / 0.6515 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.6373, allocations: 0 / 0.6515 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/0.6408, allocations: 0.7405 MB / 0.6523 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6408, allocations: 4 kB / 0.6523 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.641, allocations: 59.84 kB / 0.6523 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.641, allocations: 4 kB / 0.6523 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6411, allocations: 0 / 0.6523 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.6542, allocations: 4.319 MB / 0.6565 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.6544, allocations: 167.8 kB / 0.6567 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.6546, allocations: 15.91 kB / 0.6567 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/0.6575, allocations: 0.5539 MB / 0.6573 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.6578, allocations: 112.3 kB / 0.6574 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/0.658, allocations: 71.78 kB / 0.6574 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001836/0.6582, allocations: 186 kB / 0.6576 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.6582, allocations: 0 / 0.6576 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004325/0.6625, allocations: 1.315 MB / 0.6589 GB, free: 10.27 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.003675/0.6662, allocations: 0.9779 MB / 0.6599 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02034/0.6866, allocations: 6.621 MB / 0.6663 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6866, allocations: 320 / 0.6663 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00701/0.6936, allocations: 2.423 MB / 0.6687 GB, free: 376 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6952, allocations: 232.9 kB / 0.6689 GB, free: 156 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7061, allocations: 3.97 MB / 0.6728 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.7066, allocations: 1.045 MB / 0.6738 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002493/0.7091, allocations: 0.8867 MB / 0.6747 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.7102, allocations: 175 kB / 0.6748 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/0.7102, allocations: 4 kB / 0.6748 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.06758/0.7778, allocations: 52.58 MB / 0.7262 GB, free: 5.398 MB / 0.5762 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)