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.001161/0.001161, allocations: 108.5 kB / 17.74 MB, free: 5.34 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.001162/0.001162, allocations: 190.9 kB / 18.68 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.358/1.358, 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.2843/0.2843, allocations: 48.84 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.001734/0.001734, allocations: 72.36 kB / 451.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1188, allocations: 59.16 MB / 0.4984 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.02172/0.1405, allocations: 19.03 MB / 0.517 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1511, allocations: 8.732 MB / 0.5256 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.1514, allocations: 0 / 0.5256 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.1519, allocations: 123.3 kB / 0.5257 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1522, allocations: 151.1 kB / 0.5258 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2512/0.4035, allocations: 3.598 MB / 0.5293 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.4055, allocations: 1.785 MB / 0.5311 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.4057, allocations: 103.1 kB / 0.5312 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.4065, allocations: 0.5648 MB / 0.5317 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.4077, allocations: 0.7139 MB / 0.5324 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.408, allocations: 133.3 kB / 0.5325 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.4215, allocations: 6.194 MB / 0.5386 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009595/0.4225, allocations: 424.9 kB / 0.539 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.4236, allocations: 0.5067 MB / 0.5395 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.436, allocations: 4.49 MB / 0.5439 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.436, allocations: 1.969 kB / 0.5439 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4361, allocations: 0 / 0.5439 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.4361, allocations: 4.688 kB / 0.5439 GB, free: 11.07 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.01075/0.4468, allocations: 2.349 MB / 0.5462 GB, free: 9.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4469, allocations: 15.64 kB / 0.5462 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.4477, allocations: 150.9 kB / 0.5463 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.4486, allocations: 0.5061 MB / 0.5468 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009227/0.4495, allocations: 453 kB / 0.5473 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.4498, allocations: 57.34 kB / 0.5473 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008191/0.458, allocations: 3.107 MB / 0.5504 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.458, allocations: 4.719 kB / 0.5504 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.4582, allocations: 25.69 kB / 0.5504 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.497e-05/0.4583, allocations: 45.77 kB / 0.5504 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.4722, allocations: 4.828 MB / 0.5551 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.4864, allocations: 9.902 MB / 0.5648 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/0.4936, allocations: 2.41 MB / 0.5672 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006084/0.4997, allocations: 2.073 MB / 0.5692 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07132/0.571, allocations: 34.77 MB / 0.6031 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.5711, allocations: 43.12 kB / 0.6032 GB, free: 4.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=59): time 3.697e-06/0.5712, allocations: 0 / 0.6032 GB, free: 4.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=59): time 0.02215/0.5933, allocations: 5.89 MB / 0.6089 GB, free: 14.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.5934, allocations: 59.97 kB / 0.609 GB, free: 14.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.5938, allocations: 252.9 kB / 0.6092 GB, free: 14.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.5941, allocations: 37.45 kB / 0.6093 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5943, allocations: 236.5 kB / 0.6095 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.5947, allocations: 214.9 kB / 0.6097 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006895/0.5954, allocations: 213.9 kB / 0.6099 GB, free: 13.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5956, allocations: 346.8 kB / 0.6102 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006142/0.6017, allocations: 1.989 MB / 0.6122 GB, free: 11.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006309/0.6081, allocations: 2.095 MB / 0.6142 GB, free: 9.062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.619, allocations: 3.064 MB / 0.6172 GB, free: 5.969 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.6191, allocations: 1.375 kB / 0.6172 GB, free: 5.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01281/0.6319, allocations: 3.752 MB / 0.6209 GB, free: 2.223 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.632, allocations: 11.91 kB / 0.6209 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.632, allocations: 0 / 0.6209 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.632, allocations: 8 kB / 0.6209 GB, free: 2.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/0.6356, allocations: 0.7533 MB / 0.6216 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.6356, allocations: 4 kB / 0.6216 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.6386, allocations: 0.5809 MB / 0.6222 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/0.639, allocations: 71.84 kB / 0.6223 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006475/0.6455, allocations: 2.169 MB / 0.6244 GB, free: 14.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00626/0.6517, allocations: 2.098 MB / 0.6264 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01081/0.6626, allocations: 3.059 MB / 0.6294 GB, free: 9.398 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.184e-06/0.6626, allocations: 0 / 0.6294 GB, free: 9.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01273/0.6754, allocations: 3.746 MB / 0.6331 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6754, allocations: 4 kB / 0.6331 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6754, allocations: 7.562 kB / 0.6331 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6755, allocations: 8 kB / 0.6331 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/0.6789, allocations: 0.7482 MB / 0.6338 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.679, allocations: 4 kB / 0.6338 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/0.6819, allocations: 0.5777 MB / 0.6344 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/0.6822, allocations: 71.83 kB / 0.6345 GB, free: 4.246 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.0006112/0.6828, allocations: 225.4 kB / 0.6347 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/0.6832, allocations: 43.47 kB / 0.6347 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.6972, allocations: 5.313 MB / 0.6399 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01348/0.7107, allocations: 4.926 MB / 0.6447 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.7108, allocations: 0 / 0.6447 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.7108, allocations: 11.05 kB / 0.6447 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/0.7295, allocations: 7.644 MB / 0.6522 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.7296, allocations: 2.625 kB / 0.6522 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003371/0.733, allocations: 0.7349 MB / 0.6529 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.733, allocations: 4 kB / 0.6529 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/0.7333, allocations: 63.84 kB / 0.653 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.7333, allocations: 0 / 0.653 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7333, allocations: 4 kB / 0.653 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.7461, allocations: 4.322 MB / 0.6572 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.7464, allocations: 159.9 kB / 0.6574 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.7468, allocations: 19.84 kB / 0.6574 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/0.7496, allocations: 0.5539 MB / 0.6579 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/0.75, allocations: 108.3 kB / 0.658 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/0.7502, allocations: 71.78 kB / 0.6581 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002144/0.7504, allocations: 189.9 kB / 0.6583 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7504, allocations: 0 / 0.6583 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005679/0.7561, allocations: 1.307 MB / 0.6596 GB, free: 10.45 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.006801/0.763, allocations: 0.9868 MB / 0.6605 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0206/0.7836, allocations: 6.623 MB / 0.667 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7837, allocations: 0 / 0.667 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006952/0.7906, allocations: 2.418 MB / 0.6693 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.7925, allocations: 237.1 kB / 0.6696 GB, free: 336 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.8035, allocations: 4.015 MB / 0.6735 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.8042, allocations: 1.037 MB / 0.6745 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/0.8058, allocations: 211 kB / 0.6747 GB, free: 11 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.8059, allocations: 0 / 0.6747 GB, free: 11 MB / 0.5294 GB Notification: Performance of Templates: time 0.05021/0.8561, allocations: 32.93 MB / 0.7069 GB, free: 10.03 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)