Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") [: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.002076/0.002076, allocations: 180.4 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5971/0.5971, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.133/1.133, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008917/0.0008917, allocations: 98 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.513e-06/6.873e-06, allocations: 2.406 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 82.29 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7298/0.8461, allocations: 380.9 MB / 1.005 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.8464, allocations: 90.39 kB / 1.005 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.81/6.657, allocations: 2.326 GB / 3.332 GB, free: 26.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001219/6.658, allocations: 278.2 kB / 3.332 GB, free: 26.26 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.02957/6.688, allocations: 10.83 MB / 3.342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/6.688, allocations: 11.97 kB / 3.342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006158/6.694, allocations: 1.273 MB / 3.344 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02683/6.721, allocations: 13.15 MB / 3.357 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/6.721, allocations: 179.9 kB / 3.357 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/6.723, allocations: 347.9 kB / 3.357 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2487/6.972, allocations: 18.14 MB / 3.375 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/6.988, allocations: 12.77 MB / 3.387 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/6.988, allocations: 21.06 kB / 3.387 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009727/6.989, allocations: 9.656 kB / 3.387 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.162e-05/6.989, allocations: 139.5 kB / 3.387 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08307/7.072, allocations: 62.24 MB / 3.448 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/7.08, allocations: 8.468 MB / 3.456 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008424/7.088, allocations: 9.402 MB / 3.466 GB, free: 105.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04201/7.13, allocations: 29.53 MB / 3.494 GB, free: 98.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006609/7.137, allocations: 7.353 MB / 3.502 GB, free: 98.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=301): time 5.26e-06/7.137, allocations: 0 / 3.502 GB, free: 98.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=301): time 0.02099/7.158, allocations: 14.94 MB / 3.516 GB, free: 97.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/7.158, allocations: 88.62 kB / 3.516 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007303/7.165, allocations: 6.678 MB / 3.523 GB, free: 96.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007478/7.166, allocations: 33.36 kB / 3.523 GB, free: 96.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002387/7.168, allocations: 2.571 MB / 3.525 GB, free: 94.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002778/7.171, allocations: 1.041 MB / 3.526 GB, free: 93.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005944/7.172, allocations: 0 / 3.526 GB, free: 93.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001639/7.172, allocations: 494.1 kB / 3.527 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005778/7.178, allocations: 6.246 MB / 3.533 GB, free: 91.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006223/7.184, allocations: 8.019 MB / 3.541 GB, free: 86.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008748/7.193, allocations: 7.317 MB / 3.548 GB, free: 83.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/7.193, allocations: 17.34 kB / 3.548 GB, free: 83.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.02306/7.216, allocations: 16.74 MB / 3.564 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003122/7.219, allocations: 24.64 MB / 3.588 GB, free: 51.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-05/7.219, allocations: 44.72 kB / 3.588 GB, free: 51.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/7.223, allocations: 1.615 MB / 3.59 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007343/7.231, allocations: 1.569 MB / 3.592 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/7.237, allocations: 4.643 MB / 3.596 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00925/7.246, allocations: 0.6974 MB / 3.597 GB, free: 49.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/7.248, allocations: 0.5397 MB / 3.597 GB, free: 49.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/7.248, allocations: 7.781 kB / 3.597 GB, free: 49.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02237/7.27, allocations: 15.9 MB / 3.613 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/7.27, allocations: 47.66 kB / 3.613 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/7.274, allocations: 1.476 MB / 3.614 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006985/7.281, allocations: 1.57 MB / 3.616 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009411/7.291, allocations: 7.869 MB / 3.624 GB, free: 36.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008858/7.299, allocations: 0.5889 MB / 3.624 GB, free: 36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/7.301, allocations: 0.5405 MB / 3.625 GB, free: 35.68 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 3 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.00168/7.302, allocations: 258.6 kB / 3.625 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001816/7.304, allocations: 0.7061 MB / 3.626 GB, free: 34.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02254/7.327, allocations: 14.43 MB / 3.64 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/7.327, allocations: 32 kB / 3.64 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/7.327, allocations: 0 / 3.64 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0115/7.338, allocations: 10.32 MB / 3.65 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2569/7.595, allocations: 23.74 MB / 3.673 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/7.595, allocations: 0 / 3.673 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004615/7.6, allocations: 0.689 MB / 3.674 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/7.602, allocations: 0.8113 MB / 3.674 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004258/7.602, allocations: 68.95 kB / 3.674 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/7.606, allocations: 3.387 MB / 3.678 GB, free: 114.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/7.606, allocations: 4.594 kB / 3.678 GB, free: 114.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02085/7.627, allocations: 18.62 MB / 3.696 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004736/7.632, allocations: 1.974 MB / 3.698 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/7.633, allocations: 20.27 kB / 3.698 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005002/7.638, allocations: 333 kB / 3.698 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000674/7.639, allocations: 196.6 kB / 3.698 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005163/7.639, allocations: 161.1 kB / 3.699 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.005628/7.645, allocations: 5.084 MB / 3.704 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01338/7.658, allocations: 4.721 MB / 3.708 GB, free: 113.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002095/7.66, allocations: 1.179 MB / 3.709 GB, free: 113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02688/7.687, allocations: 23.14 MB / 3.732 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/7.687, allocations: 3.688 kB / 3.732 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006553/7.694, allocations: 6.107 MB / 3.738 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01538/7.709, allocations: 3.81 MB / 3.742 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/7.737, allocations: 17.65 MB / 3.759 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007697/7.745, allocations: 6.394 MB / 3.765 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/7.745, allocations: 0 / 3.765 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.5304/8.276, allocations: 259.4 MB / 4.018 GB, free: 101 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)