Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.6982/0.6982, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001223/0.001223, allocations: 185.3 kB / 164.4 MB, free: 6.859 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.822/1.822, allocations: 205.1 MB / 399.1 MB, free: 6.109 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.0009315/0.000932, allocations: 93.97 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/1.005e-05, allocations: 8 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.185, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/6.003, allocations: 2.138 GB / 2.759 GB, free: 74.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/6.003, allocations: 91.94 kB / 2.759 GB, free: 74.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.529/10.53, allocations: 1.057 GB / 3.816 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002643/10.53, allocations: 33.09 kB / 3.816 GB, free: 143.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007018/10.54, allocations: 1.342 MB / 3.818 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.141e-05/10.54, allocations: 8.531 kB / 3.818 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/10.54, allocations: 207.4 kB / 3.818 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005704/10.55, allocations: 1.452 MB / 3.819 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/10.55, allocations: 19.09 kB / 3.819 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/10.55, allocations: 39.56 kB / 3.819 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/10.55, allocations: 0.7333 MB / 3.82 GB, free: 143 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/10.55, allocations: 0.8549 MB / 3.821 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/10.55, allocations: 3.188 kB / 3.821 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/10.55, allocations: 3.969 kB / 3.821 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/10.55, allocations: 12.66 kB / 3.821 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/10.56, allocations: 4.63 MB / 3.826 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/10.56, allocations: 0.5524 MB / 3.826 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/10.56, allocations: 439.7 kB / 3.826 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/10.56, allocations: 194.6 kB / 3.827 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/10.56, allocations: 312.9 kB / 3.827 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 3.657e-06/10.56, allocations: 3.562 kB / 3.827 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.01491/10.57, allocations: 2.676 MB / 3.83 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/10.57, allocations: 83.52 kB / 3.83 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/10.58, allocations: 0.914 MB / 3.831 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/10.58, allocations: 36.58 kB / 3.831 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/10.58, allocations: 353.3 kB / 3.831 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/10.58, allocations: 113.4 kB / 3.831 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/10.58, allocations: 0 / 3.831 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/10.58, allocations: 326.8 kB / 3.831 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/10.58, allocations: 359.3 kB / 3.832 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/10.58, allocations: 0.6836 MB / 3.832 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/10.58, allocations: 418.9 kB / 3.833 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/10.58, allocations: 3.844 kB / 3.833 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01242/10.59, allocations: 2.586 MB / 3.835 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006494/10.59, allocations: 2.019 MB / 3.837 GB, free: 136 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/10.59, allocations: 3.75 kB / 3.837 GB, free: 136 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/10.59, allocations: 0.7084 MB / 3.838 GB, free: 136 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/10.59, allocations: 68.2 kB / 3.838 GB, free: 136 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007552/10.6, allocations: 2.634 MB / 3.841 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/10.6, allocations: 185 kB / 3.841 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/10.6, allocations: 36.67 kB / 3.841 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/10.6, allocations: 12.16 kB / 3.841 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001548/10.61, allocations: 0.7494 MB / 3.842 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/10.61, allocations: 7.781 kB / 3.842 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007825/10.61, allocations: 307 kB / 3.842 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/10.61, allocations: 65.05 kB / 3.842 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/10.61, allocations: 3.456 MB / 3.845 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/10.61, allocations: 108.5 kB / 3.845 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/10.61, allocations: 24.34 kB / 3.845 GB, free: 134 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_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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003399/10.61, allocations: 129.3 kB / 3.846 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/10.61, allocations: 99.19 kB / 3.846 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/10.61, allocations: 120.2 kB / 3.846 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/10.61, allocations: 6.312 kB / 3.846 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/10.61, allocations: 0 / 3.846 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/10.61, allocations: 0 / 3.846 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/10.63, allocations: 3.239 MB / 3.849 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/10.63, allocations: 3.938 kB / 3.849 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/10.63, allocations: 22.77 kB / 3.849 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/10.63, allocations: 0.6685 MB / 3.85 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/10.63, allocations: 7.453 kB / 3.85 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02732/10.65, allocations: 8.396 MB / 3.858 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/10.65, allocations: 0 / 3.858 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0101/10.66, allocations: 2.309 MB / 3.86 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/10.67, allocations: 181.7 kB / 3.86 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004234/10.67, allocations: 3.812 kB / 3.86 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/10.67, allocations: 154.2 kB / 3.86 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/10.67, allocations: 28.53 kB / 3.86 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/10.67, allocations: 17.47 kB / 3.86 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001295/10.67, allocations: 0.7152 MB / 3.861 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003036/10.67, allocations: 0.608 MB / 3.862 GB, free: 131.4 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_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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001946/10.67, allocations: 1.215 MB / 3.863 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006567/10.68, allocations: 1.981 MB / 3.865 GB, free: 131 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/10.68, allocations: 0 / 3.865 GB, free: 131 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004556/10.69, allocations: 1.13 MB / 3.866 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/10.69, allocations: 0.5656 MB / 3.866 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/10.69, allocations: 1.795 MB / 3.868 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/10.69, allocations: 1.301 MB / 3.869 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/10.69, allocations: 0 / 3.869 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.07158/10.76, allocations: 33.33 MB / 3.902 GB, free: 121.4 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)