Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7069/0.7069, 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.001275/0.001275, allocations: 181.3 kB / 164.4 MB, free: 6.895 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.808/1.808, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001124/0.001124, allocations: 97.8 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.174e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1954, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.046/6.242, allocations: 2.141 GB / 2.762 GB, free: 26.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/6.242, allocations: 91.94 kB / 2.762 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.687/13.93, allocations: 1.963 GB / 4.725 GB, free: 89.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002377/13.93, allocations: 37.47 kB / 4.725 GB, free: 89.52 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005652/13.94, allocations: 1.337 MB / 4.726 GB, free: 88.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/13.94, allocations: 8.031 kB / 4.726 GB, free: 88.14 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/13.94, allocations: 202.3 kB / 4.727 GB, free: 87.94 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/13.94, allocations: 1.483 MB / 4.728 GB, free: 86.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/13.94, allocations: 16 kB / 4.728 GB, free: 86.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/13.94, allocations: 44 kB / 4.728 GB, free: 86.37 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/13.94, allocations: 0.7248 MB / 4.729 GB, free: 85.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/13.94, allocations: 0.8557 MB / 4.73 GB, free: 84.71 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/13.94, allocations: 11.92 kB / 4.73 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/13.94, allocations: 0 / 4.73 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/13.94, allocations: 20 kB / 4.73 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/13.95, allocations: 4.601 MB / 4.734 GB, free: 79.79 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/13.95, allocations: 0.5219 MB / 4.735 GB, free: 79.26 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/13.95, allocations: 432.1 kB / 4.735 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/13.95, allocations: 200.4 kB / 4.735 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/13.95, allocations: 299 kB / 4.736 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/13.95, allocations: 0 / 4.736 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34): time 0.02139/13.97, allocations: 4.117 MB / 4.74 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/13.97, allocations: 85.11 kB / 4.74 GB, free: 74.07 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/13.98, allocations: 0.9175 MB / 4.741 GB, free: 73.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/13.98, allocations: 29.7 kB / 4.741 GB, free: 73.11 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/13.98, allocations: 353.2 kB / 4.741 GB, free: 72.76 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/13.98, allocations: 115 kB / 4.741 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/13.98, allocations: 3.938 kB / 4.741 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/13.98, allocations: 326 kB / 4.741 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/13.98, allocations: 396.7 kB / 4.742 GB, free: 71.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/13.98, allocations: 0.7139 MB / 4.742 GB, free: 71.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/13.98, allocations: 445.1 kB / 4.743 GB, free: 70.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/13.98, allocations: 0 / 4.743 GB, free: 70.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01913/14, allocations: 3.903 MB / 4.747 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006152/14, allocations: 2.022 MB / 4.749 GB, free: 64.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/14, allocations: 4 kB / 4.749 GB, free: 64.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/14, allocations: 0.7032 MB / 4.749 GB, free: 63.85 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/14, allocations: 67.91 kB / 4.749 GB, free: 63.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/14, allocations: 2.098 MB / 4.751 GB, free: 61.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/14.01, allocations: 223.4 kB / 4.752 GB, free: 61.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/14.01, allocations: 31.97 kB / 4.752 GB, free: 61.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/14.01, allocations: 4 kB / 4.752 GB, free: 61.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/14.01, allocations: 0.6719 MB / 4.752 GB, free: 60.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/14.01, allocations: 7.906 kB / 4.752 GB, free: 60.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/14.01, allocations: 253.3 kB / 4.753 GB, free: 60.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/14.01, allocations: 67.89 kB / 4.753 GB, free: 60.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/14.01, allocations: 2.912 MB / 4.756 GB, free: 57.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/14.01, allocations: 99.66 kB / 4.756 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/14.01, allocations: 23.98 kB / 4.756 GB, free: 57.26 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 (34): * Single equations (assignments): 32 * 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.000244/14.01, allocations: 124.9 kB / 4.756 GB, free: 57.13 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/14.01, allocations: 102.7 kB / 4.756 GB, free: 57.03 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/14.01, allocations: 109.8 kB / 4.756 GB, free: 56.92 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/14.01, allocations: 4 kB / 4.756 GB, free: 56.92 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/14.01, allocations: 4 kB / 4.756 GB, free: 56.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/14.01, allocations: 0 / 4.756 GB, free: 56.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/14.03, allocations: 4.505 MB / 4.76 GB, free: 52.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/14.03, allocations: 0 / 4.76 GB, free: 52.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/14.03, allocations: 40.09 kB / 4.76 GB, free: 52.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/14.03, allocations: 0.6644 MB / 4.761 GB, free: 51.64 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/14.03, allocations: 7.984 kB / 4.761 GB, free: 51.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02989/14.06, allocations: 9.965 MB / 4.771 GB, free: 41.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/14.06, allocations: 8.062 kB / 4.771 GB, free: 41.54 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01583/14.08, allocations: 3.536 MB / 4.774 GB, free: 37.94 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/14.08, allocations: 171.9 kB / 4.774 GB, free: 37.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/14.08, allocations: 11.89 kB / 4.774 GB, free: 37.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/14.08, allocations: 191.6 kB / 4.775 GB, free: 37.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/14.08, allocations: 35.94 kB / 4.775 GB, free: 37.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/14.08, allocations: 23.97 kB / 4.775 GB, free: 37.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008599/14.08, allocations: 0.7098 MB / 4.775 GB, free: 36.78 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002162/14.08, allocations: 0.6476 MB / 4.776 GB, free: 36.13 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 (12): * Single equations (assignments): 9 * 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.001735/14.08, allocations: 1.281 MB / 4.777 GB, free: 34.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002581/14.09, allocations: 1.46 MB / 4.779 GB, free: 33.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/14.09, allocations: 0 / 4.779 GB, free: 33.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/14.09, allocations: 0.653 MB / 4.779 GB, free: 32.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/14.09, allocations: 0.5717 MB / 4.78 GB, free: 32.27 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/14.1, allocations: 1.931 MB / 4.782 GB, free: 30.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/14.1, allocations: 1.296 MB / 4.783 GB, free: 29.01 MB / 0.6667 GB Notification: Performance of SimCode: time 1.703e-06/14.1, allocations: 0 / 4.783 GB, free: 29.01 MB / 0.6667 GB Notification: Performance of Templates: time 0.3744/14.47, allocations: 39.46 MB / 4.822 GB, free: 224.6 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)