Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.7147/0.7147, allocations: 127.4 MB / 134.6 MB, free: 4.047 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.001364/0.001364, allocations: 181.3 kB / 164.4 MB, free: 6.836 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.000993/0.0009929, allocations: 93.59 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.155e-06, allocations: 0 / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 76.75 MB / 0.6209 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.854/6.055, allocations: 2.138 GB / 2.759 GB, free: 87.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/6.056, allocations: 92.88 kB / 2.759 GB, free: 87.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.857/12.91, allocations: 1.761 GB / 4.52 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001786/12.91, allocations: 30.55 kB / 4.52 GB, free: 164.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003169/12.92, allocations: 1.127 MB / 4.521 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/12.92, allocations: 11.77 kB / 4.521 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/12.92, allocations: 186.8 kB / 4.522 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/12.92, allocations: 1.103 MB / 4.523 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/12.92, allocations: 15.25 kB / 4.523 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/12.92, allocations: 38.22 kB / 4.523 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007971/12.92, allocations: 499.1 kB / 4.523 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/12.92, allocations: 0.6792 MB / 4.524 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/12.92, allocations: 0 / 4.524 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/12.92, allocations: 6.938 kB / 4.524 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/12.92, allocations: 11.62 kB / 4.524 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/12.93, allocations: 4.502 MB / 4.528 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/12.93, allocations: 467.3 kB / 4.529 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/12.93, allocations: 259.5 kB / 4.529 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/12.93, allocations: 190.9 kB / 4.529 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/12.93, allocations: 259.7 kB / 4.529 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.495e-06/12.93, allocations: 0 / 4.529 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.003088/12.93, allocations: 0.9126 MB / 4.53 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/12.93, allocations: 92.27 kB / 4.53 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/12.93, allocations: 0.8655 MB / 4.531 GB, free: 160 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/12.93, allocations: 28.8 kB / 4.531 GB, free: 160 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/12.93, allocations: 345.5 kB / 4.532 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/12.93, allocations: 105 kB / 4.532 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/12.93, allocations: 0 / 4.532 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/12.93, allocations: 327 kB / 4.532 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/12.93, allocations: 320.5 kB / 4.532 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/12.93, allocations: 0.6254 MB / 4.533 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/12.93, allocations: 383.4 kB / 4.533 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/12.93, allocations: 0 / 4.533 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001135/12.93, allocations: 0.8557 MB / 4.534 GB, free: 159 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000461/12.93, allocations: 2.006 MB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/12.93, allocations: 8.391 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/12.93, allocations: 15.16 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/12.94, allocations: 188.9 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/12.94, allocations: 11.16 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/12.94, allocations: 145.2 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/12.94, allocations: 36.58 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/12.94, allocations: 2.781 kB / 4.536 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005698/12.94, allocations: 408.6 kB / 4.537 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/12.94, allocations: 6.875 kB / 4.537 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/12.94, allocations: 9.469 kB / 4.537 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/12.94, allocations: 112.7 kB / 4.537 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/12.94, allocations: 18.34 kB / 4.537 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/12.94, allocations: 67.39 kB / 4.537 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/12.94, allocations: 25.2 kB / 4.537 GB, free: 156.9 MB / 0.6355 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 (52): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/12.94, allocations: 123.8 kB / 4.537 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/12.94, allocations: 93.75 kB / 4.537 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/12.94, allocations: 104.6 kB / 4.537 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/12.94, allocations: 8.922 kB / 4.537 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/12.94, allocations: 0 / 4.537 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/12.94, allocations: 0 / 4.537 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/12.94, allocations: 1.655 MB / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/12.94, allocations: 3.469 kB / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/12.94, allocations: 145.1 kB / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/12.94, allocations: 6.844 kB / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/12.94, allocations: 8.453 kB / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/12.94, allocations: 0 / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/12.94, allocations: 6.438 kB / 4.539 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008801/12.94, allocations: 0.8551 MB / 4.54 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/12.94, allocations: 170 kB / 4.54 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/12.94, allocations: 6.703 kB / 4.54 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/12.95, allocations: 115.9 kB / 4.54 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/12.95, allocations: 36.22 kB / 4.54 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/12.95, allocations: 12.66 kB / 4.54 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008955/12.95, allocations: 0.6809 MB / 4.541 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00178/12.95, allocations: 458.1 kB / 4.541 GB, free: 155.7 MB / 0.6355 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 (30): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/12.95, allocations: 1.038 MB / 4.542 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001594/12.95, allocations: 0.9895 MB / 4.543 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/12.95, allocations: 0 / 4.543 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004355/12.95, allocations: 321.3 kB / 4.544 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/12.95, allocations: 374.6 kB / 4.544 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/12.96, allocations: 1.589 MB / 4.546 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/12.96, allocations: 1.321 MB / 4.547 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/12.96, allocations: 0 / 4.547 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.04238/13, allocations: 23.93 MB / 4.57 GB, free: 153.8 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)