Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7477/0.7477, allocations: 141.8 MB / 149.1 MB, free: 15.64 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 175.3 kB / 182 MB, free: 12.02 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.3 MB / 436 MB, free: 4.68 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 92.84 kB / 0.507 GB, free: 18.89 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 264 kB / 0.5885 GB, free: 5.961 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.241e-05, allocations: 2.469 kB / 0.6759 GB, free: 138.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 82.78 MB / 0.7568 GB, free: 87.17 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.662/4.867, allocations: 1.832 GB / 2.588 GB, free: 165.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/4.868, allocations: 90.55 kB / 2.588 GB, free: 165.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 7.084/11.95, allocations: 2.008 GB / 4.597 GB, free: 12 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002001/11.95, allocations: 35.97 kB / 4.597 GB, free: 11.96 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005028/11.96, allocations: 1.326 MB / 4.598 GB, free: 10.58 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/11.96, allocations: 12.03 kB / 4.598 GB, free: 10.57 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/11.96, allocations: 214.3 kB / 4.598 GB, free: 10.36 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/11.96, allocations: 1.461 MB / 4.6 GB, free: 8.84 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/11.96, allocations: 19.98 kB / 4.6 GB, free: 8.82 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/11.96, allocations: 40 kB / 4.6 GB, free: 8.781 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/11.96, allocations: 0.7209 MB / 4.6 GB, free: 8.059 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/11.97, allocations: 0.8565 MB / 4.601 GB, free: 7.129 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/11.97, allocations: 7.938 kB / 4.601 GB, free: 7.121 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/11.97, allocations: 3.984 kB / 4.601 GB, free: 7.117 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/11.97, allocations: 16 kB / 4.601 GB, free: 7.102 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/11.97, allocations: 4.702 MB / 4.606 GB, free: 2.086 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/11.97, allocations: 0.5112 MB / 4.606 GB, free: 1.566 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/11.97, allocations: 435.5 kB / 4.607 GB, free: 1.141 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/11.97, allocations: 190.5 kB / 4.607 GB, free: 0.918 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/11.97, allocations: 312.8 kB / 4.607 GB, free: 0.5938 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=35): time 2.485e-06/11.97, allocations: 3.938 kB / 4.607 GB, free: 0.5898 MB / 0.6982 GB Notification: Performance of matching and sorting (n=35): time 0.3137/12.29, allocations: 0.8716 MB / 4.608 GB, free: 223.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/12.29, allocations: 87.14 kB / 4.608 GB, free: 223 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/12.29, allocations: 0.9189 MB / 4.609 GB, free: 222.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/12.29, allocations: 25.7 kB / 4.609 GB, free: 222.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/12.29, allocations: 353 kB / 4.61 GB, free: 222.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/12.29, allocations: 119.7 kB / 4.61 GB, free: 222.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/12.29, allocations: 0 / 4.61 GB, free: 222.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/12.29, allocations: 325.1 kB / 4.61 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/12.29, allocations: 219.2 kB / 4.61 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/12.29, allocations: 0.548 MB / 4.611 GB, free: 222 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/12.29, allocations: 313.7 kB / 4.611 GB, free: 222 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/12.29, allocations: 0 / 4.611 GB, free: 222 MB / 0.6982 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00172/12.29, allocations: 1.01 MB / 4.612 GB, free: 221.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004631/12.29, allocations: 2.093 MB / 4.614 GB, free: 219.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/12.29, allocations: 12.22 kB / 4.614 GB, free: 219.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/12.29, allocations: 274.9 kB / 4.614 GB, free: 219.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/12.29, allocations: 74.05 kB / 4.614 GB, free: 219.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/12.29, allocations: 1.215 MB / 4.616 GB, free: 219.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/12.3, allocations: 109.1 kB / 4.616 GB, free: 219.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/12.3, allocations: 27.19 kB / 4.616 GB, free: 219.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/12.3, allocations: 3.844 kB / 4.616 GB, free: 219.2 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/12.3, allocations: 0.6786 MB / 4.616 GB, free: 219.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/12.3, allocations: 7.219 kB / 4.616 GB, free: 219.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/12.3, allocations: 251.2 kB / 4.617 GB, free: 219.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/12.3, allocations: 75.62 kB / 4.617 GB, free: 219.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/12.3, allocations: 2.91 MB / 4.62 GB, free: 217.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/12.3, allocations: 104.4 kB / 4.62 GB, free: 217.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/12.3, allocations: 28.92 kB / 4.62 GB, free: 217.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002286/12.3, allocations: 124.6 kB / 4.62 GB, free: 217.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/12.3, allocations: 105.1 kB / 4.62 GB, free: 217.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/12.3, allocations: 0.7754 MB / 4.621 GB, free: 217.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/12.3, allocations: 3.75 kB / 4.621 GB, free: 217.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/12.3, allocations: 0 / 4.621 GB, free: 217.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/12.3, allocations: 3.891 kB / 4.621 GB, free: 217.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/12.31, allocations: 1.706 MB / 4.622 GB, free: 217.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/12.31, allocations: 6.812 kB / 4.622 GB, free: 217.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/12.31, allocations: 34.89 kB / 4.622 GB, free: 217.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/12.31, allocations: 232.2 kB / 4.623 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/12.31, allocations: 3.844 kB / 4.623 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008241/12.31, allocations: 1.074 MB / 4.624 GB, free: 216.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/12.31, allocations: 6.438 kB / 4.624 GB, free: 216.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001227/12.31, allocations: 0.9673 MB / 4.625 GB, free: 216.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/12.31, allocations: 236.7 kB / 4.625 GB, free: 216.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/12.31, allocations: 5.625 kB / 4.625 GB, free: 216.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/12.31, allocations: 80.05 kB / 4.625 GB, free: 216.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/12.31, allocations: 24.52 kB / 4.625 GB, free: 216.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/12.31, allocations: 19.72 kB / 4.625 GB, free: 216.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008245/12.31, allocations: 0.7122 MB / 4.626 GB, free: 216 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001757/12.31, allocations: 0.5538 MB / 4.626 GB, free: 216 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/12.31, allocations: 1.289 MB / 4.627 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001624/12.32, allocations: 1.015 MB / 4.628 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/12.32, allocations: 0 / 4.628 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/12.32, allocations: 234.9 kB / 4.629 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/12.32, allocations: 0.5684 MB / 4.629 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/12.32, allocations: 1.478 MB / 4.631 GB, free: 215.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/12.32, allocations: 1.298 MB / 4.632 GB, free: 214.4 MB / 0.6982 GB Notification: Performance of SimCode: time 1.483e-06/12.32, allocations: 0 / 4.632 GB, free: 214.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.04435/12.37, allocations: 27.33 MB / 4.659 GB, free: 214 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)