Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [: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/BuildSysPro 3.5.0/package.mo): time 0.7643/0.7643, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 185.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 90.39 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.126e-05/1.129e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2114, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.477/5.688, allocations: 2.141 GB / 2.762 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/5.689, allocations: 91.94 kB / 2.762 GB, free: 187.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.087/11.78, allocations: 1.773 GB / 4.535 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001772/11.78, allocations: 37.67 kB / 4.535 GB, free: 158.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003041/11.78, allocations: 1.127 MB / 4.536 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/11.78, allocations: 14.31 kB / 4.536 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/11.78, allocations: 187.4 kB / 4.536 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/11.78, allocations: 1.128 MB / 4.538 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/11.78, allocations: 15.81 kB / 4.538 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/11.78, allocations: 39.08 kB / 4.538 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00106/11.79, allocations: 496.9 kB / 4.538 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009606/11.79, allocations: 0.6771 MB / 4.539 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/11.79, allocations: 3.469 kB / 4.539 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/11.79, allocations: 10.41 kB / 4.539 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/11.79, allocations: 11.34 kB / 4.539 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/11.79, allocations: 4.493 MB / 4.543 GB, free: 154 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/11.79, allocations: 468.7 kB / 4.544 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/11.79, allocations: 247.9 kB / 4.544 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/11.79, allocations: 195.2 kB / 4.544 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/11.79, allocations: 251.2 kB / 4.544 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/11.79, allocations: 0 / 4.544 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.01278/11.81, allocations: 2.387 MB / 4.547 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/11.81, allocations: 83.94 kB / 4.547 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/11.81, allocations: 0.8744 MB / 4.548 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/11.81, allocations: 29.64 kB / 4.548 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/11.81, allocations: 347.8 kB / 4.548 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/11.81, allocations: 101.9 kB / 4.548 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/11.81, allocations: 3.938 kB / 4.548 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/11.81, allocations: 321.8 kB / 4.548 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/11.81, allocations: 314.9 kB / 4.549 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/11.81, allocations: 0.6218 MB / 4.549 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/11.81, allocations: 373.2 kB / 4.55 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/11.81, allocations: 6.656 kB / 4.55 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01242/11.82, allocations: 2.32 MB / 4.552 GB, free: 151.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005721/11.82, allocations: 2.009 MB / 4.554 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/11.82, allocations: 6.062 kB / 4.554 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/11.82, allocations: 0.565 MB / 4.554 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/11.82, allocations: 71.08 kB / 4.554 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/11.83, allocations: 1.596 MB / 4.556 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/11.83, allocations: 152.8 kB / 4.556 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/11.83, allocations: 28.33 kB / 4.556 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/11.83, allocations: 4.188 kB / 4.556 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/11.83, allocations: 0.5799 MB / 4.557 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/11.83, allocations: 5.953 kB / 4.557 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/11.83, allocations: 198.6 kB / 4.557 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/11.83, allocations: 74.06 kB / 4.557 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/11.84, allocations: 2.747 MB / 4.56 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/11.84, allocations: 74.45 kB / 4.56 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/11.84, allocations: 26.61 kB / 4.56 GB, free: 146.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002841/11.84, allocations: 134.4 kB / 4.56 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/11.84, allocations: 95.56 kB / 4.56 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/11.84, allocations: 101.2 kB / 4.56 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/11.84, allocations: 8.141 kB / 4.56 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/11.84, allocations: 5.062 kB / 4.56 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/11.84, allocations: 1.359 kB / 4.56 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/11.85, allocations: 2.828 MB / 4.563 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/11.85, allocations: 2.594 kB / 4.563 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/11.85, allocations: 23.41 kB / 4.563 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/11.85, allocations: 0.5277 MB / 4.563 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/11.85, allocations: 6.391 kB / 4.563 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/11.87, allocations: 6.43 MB / 4.57 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/11.87, allocations: 0.7031 kB / 4.57 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009235/11.88, allocations: 2.025 MB / 4.572 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/11.88, allocations: 172.1 kB / 4.572 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/11.88, allocations: 4.641 kB / 4.572 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/11.88, allocations: 113.9 kB / 4.572 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/11.88, allocations: 35.56 kB / 4.572 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/11.88, allocations: 11.3 kB / 4.572 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001132/11.88, allocations: 0.6856 MB / 4.573 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002145/11.88, allocations: 0.5224 MB / 4.573 GB, free: 141.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001725/11.88, allocations: 1.099 MB / 4.574 GB, free: 141 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002162/11.89, allocations: 1.178 MB / 4.575 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/11.89, allocations: 1.156 kB / 4.575 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008186/11.89, allocations: 482.2 kB / 4.576 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/11.89, allocations: 383.3 kB / 4.576 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/11.89, allocations: 1.668 MB / 4.578 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/11.89, allocations: 1.257 MB / 4.579 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.133e-06/11.89, allocations: 0 / 4.579 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.04615/11.94, allocations: 31.44 MB / 4.61 GB, free: 109.2 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)