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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009788/0.0009788, allocations: 189.6 kB / 8.137 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008168/0.0008168, allocations: 94.22 kB / 261.8 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2888/0.2888, allocations: 48.75 MB / 358.4 MB, free: 53.21 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.466e-06, allocations: 4 kB / 424.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09314, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.902/3.995, allocations: 2.841 GB / 3.314 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/3.996, allocations: 75.95 kB / 3.314 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.4357/4.431, allocations: 115.2 MB / 3.427 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.285e-05/4.432, allocations: 12 kB / 3.427 GB, free: 120.4 MB / 0.5105 GB 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.008877/4.44, allocations: 2.228 MB / 3.429 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/4.44, allocations: 8.031 kB / 3.429 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/4.442, allocations: 148.4 kB / 3.429 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/4.443, allocations: 0.5252 MB / 3.43 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/4.444, allocations: 0.5182 MB / 3.43 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/4.444, allocations: 32.61 kB / 3.43 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004256/4.448, allocations: 2.717 MB / 3.433 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/4.451, allocations: 1.949 MB / 3.435 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/4.451, allocations: 4 kB / 3.435 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/4.451, allocations: 4 kB / 3.435 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/4.451, allocations: 37.3 kB / 3.435 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/4.462, allocations: 8.911 MB / 3.444 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/4.464, allocations: 1.274 MB / 3.445 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/4.465, allocations: 1.045 MB / 3.446 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06178/4.527, allocations: 36.16 MB / 3.481 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/4.527, allocations: 35.06 kB / 3.481 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 2.275e-06/4.527, allocations: 0 / 3.481 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.003728/4.53, allocations: 1.824 MB / 3.483 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/4.53, allocations: 59.91 kB / 3.483 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/4.531, allocations: 178.9 kB / 3.483 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/4.531, allocations: 25.7 kB / 3.483 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/4.531, allocations: 232.2 kB / 3.483 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/4.531, allocations: 201 kB / 3.484 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/4.531, allocations: 0 / 3.484 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/4.531, allocations: 338.8 kB / 3.484 GB, free: 58.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/4.532, allocations: 0.9773 MB / 3.485 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/4.534, allocations: 1.086 MB / 3.486 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/4.535, allocations: 0.5121 MB / 3.486 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/4.535, allocations: 0 / 3.486 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003205/4.538, allocations: 1.877 MB / 3.488 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/4.538, allocations: 1.132 MB / 3.489 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/4.538, allocations: 6 kB / 3.489 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/4.538, allocations: 8 kB / 3.489 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/4.541, allocations: 1.092 MB / 3.49 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/4.541, allocations: 12 kB / 3.49 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/4.544, allocations: 0.9128 MB / 3.491 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/4.545, allocations: 79.81 kB / 3.491 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/4.545, allocations: 4 kB / 3.491 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002839/4.547, allocations: 1.684 MB / 3.493 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/4.547, allocations: 0 / 3.493 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/4.547, allocations: 8 kB / 3.493 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/4.551, allocations: 1.093 MB / 3.494 GB, free: 48.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/4.551, allocations: 8.562 kB / 3.494 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/4.554, allocations: 0.9128 MB / 3.495 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/4.554, allocations: 83.81 kB / 3.495 GB, free: 47.02 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003618/4.554, allocations: 117.5 kB / 3.495 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/4.555, allocations: 167.5 kB / 3.495 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/4.559, allocations: 3.657 MB / 3.499 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003185/4.562, allocations: 3.129 MB / 3.502 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/4.562, allocations: 0 / 3.502 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/4.562, allocations: 3.984 kB / 3.502 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008092/4.57, allocations: 6.375 MB / 3.508 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/4.57, allocations: 0 / 3.508 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/4.573, allocations: 1.081 MB / 3.509 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/4.574, allocations: 7.906 kB / 3.509 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/4.574, allocations: 63.81 kB / 3.509 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/4.574, allocations: 3.984 kB / 3.509 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/4.574, allocations: 4 kB / 3.509 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003678/4.577, allocations: 2.962 MB / 3.512 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/4.578, allocations: 152 kB / 3.512 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/4.578, allocations: 3.906 kB / 3.512 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/4.581, allocations: 0.8898 MB / 3.513 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/4.581, allocations: 124.3 kB / 3.513 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/4.581, allocations: 79.8 kB / 3.514 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.962e-05/4.581, allocations: 138.8 kB / 3.514 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004594/4.586, allocations: 1.33 MB / 3.515 GB, free: 26.63 MB / 0.5105 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 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary) * Number of discrete 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 (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.003786/4.59, allocations: 1.174 MB / 3.516 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004447/4.594, allocations: 3.999 MB / 3.52 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/4.594, allocations: 3.938 kB / 3.52 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/4.596, allocations: 1.862 MB / 3.522 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/4.597, allocations: 143.5 kB / 3.522 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/4.603, allocations: 3.351 MB / 3.525 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/4.605, allocations: 1.304 MB / 3.527 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/4.605, allocations: 0 / 3.527 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.1852/4.79, allocations: 60.45 MB / 3.586 GB, free: 171.1 MB / 0.5105 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)