Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") [: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 4.0.0+maint.om/package.mo): time 0.002022/0.002023, allocations: 180.1 kB / 7.461 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5937/0.5937, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008692, allocations: 99.02 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.815e-06, allocations: 2.875 kB / 0.5528 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 82.29 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/0.8232, allocations: 376.2 MB / 1.001 GB, free: 249.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.8234, allocations: 92.73 kB / 1.001 GB, free: 249.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.8131/1.637, allocations: 355.8 MB / 1.348 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001383/1.637, allocations: 40.75 kB / 1.348 GB, free: 155.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.003965/1.641, allocations: 1.85 MB / 1.35 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/1.641, allocations: 13.06 kB / 1.35 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/1.642, allocations: 287.1 kB / 1.35 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.653, allocations: 4.416 MB / 1.355 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/1.653, allocations: 52.91 kB / 1.355 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/1.653, allocations: 84.59 kB / 1.355 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/1.656, allocations: 1.439 MB / 1.356 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.658, allocations: 1.564 MB / 1.358 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/1.658, allocations: 9.531 kB / 1.358 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.658, allocations: 5.094 kB / 1.358 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/1.658, allocations: 52.08 kB / 1.358 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007181/1.665, allocations: 6.309 MB / 1.364 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/1.668, allocations: 1.871 MB / 1.366 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009222/1.669, allocations: 0.9605 MB / 1.367 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008833/1.67, allocations: 1.44 MB / 1.368 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.67, allocations: 54.28 kB / 1.368 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 3.116e-06/1.67, allocations: 0 / 1.368 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.002744/1.672, allocations: 1.584 MB / 1.37 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.673, allocations: 94.23 kB / 1.37 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/1.674, allocations: 0.9047 MB / 1.371 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/1.674, allocations: 26.73 kB / 1.371 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/1.674, allocations: 472.7 kB / 1.371 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/1.674, allocations: 472.9 kB / 1.372 GB, free: 142 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/1.674, allocations: 0 / 1.372 GB, free: 142 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/1.674, allocations: 361.7 kB / 1.372 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/1.675, allocations: 0.6209 MB / 1.373 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/1.676, allocations: 0.8237 MB / 1.373 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.677, allocations: 0.8596 MB / 1.374 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.677, allocations: 0 / 1.374 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002402/1.679, allocations: 1.875 MB / 1.376 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/1.68, allocations: 1.492 MB / 1.377 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.68, allocations: 4 kB / 1.377 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/1.68, allocations: 217 kB / 1.378 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.681, allocations: 343.4 kB / 1.378 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/1.684, allocations: 4.236 MB / 1.382 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.685, allocations: 172 kB / 1.382 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/1.685, allocations: 55.23 kB / 1.382 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-06/1.685, allocations: 4 kB / 1.382 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002247/1.687, allocations: 1.715 MB / 1.384 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.687, allocations: 4 kB / 1.384 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/1.688, allocations: 213.5 kB / 1.384 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.689, allocations: 342.9 kB / 1.385 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/1.691, allocations: 4.246 MB / 1.389 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/1.692, allocations: 161.2 kB / 1.389 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/1.692, allocations: 47.98 kB / 1.389 GB, free: 123.8 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: embeddedPipe.vol[1].heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/1.693, allocations: 140.1 kB / 1.389 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/1.693, allocations: 130.4 kB / 1.389 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/1.695, allocations: 1.84 MB / 1.391 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.695, allocations: 16 kB / 1.391 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.695, allocations: 0 / 1.391 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.695, allocations: 11.06 kB / 1.391 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/1.7, allocations: 3.638 MB / 1.395 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.7, allocations: 0 / 1.395 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.701, allocations: 311.2 kB / 1.395 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/1.701, allocations: 212.4 kB / 1.395 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/1.701, allocations: 19.98 kB / 1.395 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/1.704, allocations: 4.118 MB / 1.399 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.704, allocations: 3.906 kB / 1.399 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002822/1.707, allocations: 2.776 MB / 1.402 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/1.707, allocations: 406.9 kB / 1.402 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/1.707, allocations: 19.98 kB / 1.402 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/1.708, allocations: 97.64 kB / 1.402 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.708, allocations: 73.12 kB / 1.402 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/1.708, allocations: 43.98 kB / 1.402 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006429/1.709, allocations: 0.7094 MB / 1.403 GB, free: 109 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001973/1.711, allocations: 0.9656 MB / 1.404 GB, free: 108 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (nakedTabs.C1[1].T,nakedTabs.C1[2].T,nakedTabs.C1[3].T,nakedTabs.C1[4].T,nakedTabs.C1[5].T,nakedTabs.C1[6].T,nakedTabs.C1[7].T,nakedTabs.C1[8].T,nakedTabs.C1[9].T,nakedTabs.C1[10].T,nakedTabs.C2[1].T,nakedTabs.C2[2].T,nakedTabs.C2[3].T,nakedTabs.C2[4].T,nakedTabs.C2[5].T,nakedTabs.C2[6].T,nakedTabs.C2[7].T,nakedTabs.C2[8].T,nakedTabs.C2[9].T,nakedTabs.C2[10].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008326/1.712, allocations: 0.6243 MB / 1.405 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002694/1.715, allocations: 2.866 MB / 1.407 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.715, allocations: 3.25 kB / 1.407 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008864/1.716, allocations: 0.9923 MB / 1.408 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.717, allocations: 344.2 kB / 1.409 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/1.722, allocations: 4.013 MB / 1.413 GB, free: 99.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.723, allocations: 1.728 MB / 1.414 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/1.723, allocations: 0 / 1.414 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of Templates: time 0.03931/1.762, allocations: 34.28 MB / 1.448 GB, free: 64.18 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1)