Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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.7106/0.7106, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001187/0.001187, allocations: 187.7 kB / 164.4 MB, free: 6.867 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.825/1.825, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.0009895/0.0009892, allocations: 87.11 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.758e-06, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.041, allocations: 2.138 GB / 2.759 GB, free: 29.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/6.042, allocations: 91.94 kB / 2.759 GB, free: 29.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.5/13.54, allocations: 1.953 GB / 4.712 GB, free: 107 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001154/13.54, allocations: 35.75 kB / 4.712 GB, free: 107 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003873/13.55, allocations: 1.339 MB / 4.713 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/13.55, allocations: 15.97 kB / 4.713 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009836/13.55, allocations: 214 kB / 4.714 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/13.55, allocations: 1.446 MB / 4.715 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/13.55, allocations: 16 kB / 4.715 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/13.55, allocations: 40 kB / 4.715 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009588/13.55, allocations: 0.7327 MB / 4.716 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/13.55, allocations: 0.8665 MB / 4.717 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/13.55, allocations: 4 kB / 4.717 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/13.55, allocations: 0 / 4.717 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/13.55, allocations: 16 kB / 4.717 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/13.56, allocations: 4.633 MB / 4.721 GB, free: 97.24 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/13.56, allocations: 0.5543 MB / 4.722 GB, free: 96.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/13.56, allocations: 444.8 kB / 4.722 GB, free: 96.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/13.56, allocations: 198.5 kB / 4.722 GB, free: 96.02 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/13.56, allocations: 299.9 kB / 4.723 GB, free: 95.71 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=34): time 2.885e-06/13.56, allocations: 0 / 4.723 GB, free: 95.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34): time 0.02058/13.58, allocations: 4.109 MB / 4.727 GB, free: 91.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/13.58, allocations: 85.09 kB / 4.727 GB, free: 91.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/13.58, allocations: 0.9097 MB / 4.728 GB, free: 90.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/13.58, allocations: 29.7 kB / 4.728 GB, free: 90.54 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/13.58, allocations: 356.3 kB / 4.728 GB, free: 90.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/13.58, allocations: 118.4 kB / 4.728 GB, free: 90.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/13.58, allocations: 4 kB / 4.728 GB, free: 90.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/13.58, allocations: 325.9 kB / 4.728 GB, free: 89.74 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/13.58, allocations: 404.7 kB / 4.729 GB, free: 89.34 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/13.58, allocations: 0.7178 MB / 4.73 GB, free: 88.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/13.58, allocations: 453.1 kB / 4.73 GB, free: 88.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/13.58, allocations: 4 kB / 4.73 GB, free: 88.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01776/13.6, allocations: 3.89 MB / 4.734 GB, free: 84.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005112/13.6, allocations: 2.011 MB / 4.736 GB, free: 81.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/13.6, allocations: 4 kB / 4.736 GB, free: 81.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/13.6, allocations: 0.7734 MB / 4.736 GB, free: 81.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/13.6, allocations: 71.84 kB / 4.737 GB, free: 81.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/13.61, allocations: 2.203 MB / 4.739 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/13.61, allocations: 227.4 kB / 4.739 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/13.61, allocations: 31.97 kB / 4.739 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/13.61, allocations: 4 kB / 4.739 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/13.61, allocations: 0.742 MB / 4.74 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/13.61, allocations: 8 kB / 4.74 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007457/13.61, allocations: 308.9 kB / 4.74 GB, free: 77.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/13.61, allocations: 75.62 kB / 4.74 GB, free: 77.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/13.61, allocations: 3.432 MB / 4.743 GB, free: 73.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/13.62, allocations: 107.5 kB / 4.744 GB, free: 73.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/13.62, allocations: 24 kB / 4.744 GB, free: 73.84 MB / 0.6667 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_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 (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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002273/13.62, allocations: 121 kB / 4.744 GB, free: 73.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/13.62, allocations: 102.8 kB / 4.744 GB, free: 73.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/13.62, allocations: 109.8 kB / 4.744 GB, free: 73.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/13.62, allocations: 7.906 kB / 4.744 GB, free: 73.49 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/13.62, allocations: 0 / 4.744 GB, free: 73.49 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/13.62, allocations: 7.984 kB / 4.744 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/13.63, allocations: 4.497 MB / 4.748 GB, free: 68.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/13.63, allocations: 7.938 kB / 4.748 GB, free: 68.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/13.63, allocations: 28.11 kB / 4.748 GB, free: 68.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/13.63, allocations: 0.7113 MB / 4.749 GB, free: 68.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/13.63, allocations: 11.89 kB / 4.749 GB, free: 68.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/13.66, allocations: 10.07 MB / 4.759 GB, free: 57.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/13.66, allocations: 3.938 kB / 4.759 GB, free: 57.99 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01526/13.68, allocations: 3.522 MB / 4.762 GB, free: 54.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/13.68, allocations: 183.8 kB / 4.762 GB, free: 54.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/13.68, allocations: 4 kB / 4.762 GB, free: 54.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/13.68, allocations: 195.6 kB / 4.763 GB, free: 54.01 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/13.68, allocations: 31.89 kB / 4.763 GB, free: 53.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/13.68, allocations: 23.97 kB / 4.763 GB, free: 53.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008083/13.68, allocations: 0.7137 MB / 4.763 GB, free: 53.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00209/13.68, allocations: 0.636 MB / 4.764 GB, free: 52.59 MB / 0.6667 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_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 (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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/13.68, allocations: 1.206 MB / 4.765 GB, free: 51.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002654/13.69, allocations: 1.515 MB / 4.767 GB, free: 49.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/13.69, allocations: 0 / 4.767 GB, free: 49.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/13.69, allocations: 0.6764 MB / 4.767 GB, free: 49.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/13.69, allocations: 0.5777 MB / 4.768 GB, free: 48.72 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/13.69, allocations: 1.925 MB / 4.77 GB, free: 46.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/13.69, allocations: 1.296 MB / 4.771 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/13.69, allocations: 0 / 4.771 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of Templates: time 0.05269/13.75, allocations: 39.26 MB / 4.809 GB, free: 6.383 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)