Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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.7192/0.7192, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001404/0.001404, allocations: 177.3 kB / 164.4 MB, free: 6.887 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.94/1.94, 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.001318/0.001318, allocations: 85.92 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/9.898e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.845/6.054, allocations: 2.138 GB / 2.759 GB, free: 75.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/6.055, allocations: 93.02 kB / 2.759 GB, free: 75.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.573/9.628, allocations: 0.9482 GB / 3.707 GB, free: 87.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002511/9.628, allocations: 33 kB / 3.707 GB, free: 87.25 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.003913/9.632, allocations: 1.13 MB / 3.708 GB, free: 86.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/9.632, allocations: 8.031 kB / 3.708 GB, free: 86.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/9.634, allocations: 187.2 kB / 3.708 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/9.638, allocations: 1.113 MB / 3.71 GB, free: 84.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/9.638, allocations: 16 kB / 3.71 GB, free: 84.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/9.638, allocations: 36 kB / 3.71 GB, free: 84.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/9.64, allocations: 0.4976 MB / 3.71 GB, free: 84.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/9.641, allocations: 0.6696 MB / 3.711 GB, free: 83.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/9.641, allocations: 4 kB / 3.711 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/9.642, allocations: 3.984 kB / 3.711 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/9.642, allocations: 16 kB / 3.711 GB, free: 83.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005559/9.647, allocations: 4.505 MB / 3.715 GB, free: 78.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/9.648, allocations: 477 kB / 3.716 GB, free: 78.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/9.648, allocations: 257 kB / 3.716 GB, free: 77.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/9.649, allocations: 195.9 kB / 3.716 GB, free: 77.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/9.649, allocations: 259.4 kB / 3.716 GB, free: 77.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/9.649, allocations: 0 / 3.716 GB, free: 77.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.006202/9.656, allocations: 1.112 MB / 3.717 GB, free: 76.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/9.656, allocations: 96.94 kB / 3.717 GB, free: 76.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/9.658, allocations: 0.8634 MB / 3.718 GB, free: 75.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/9.658, allocations: 25.7 kB / 3.718 GB, free: 75.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/9.659, allocations: 340.6 kB / 3.719 GB, free: 74.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/9.659, allocations: 106.5 kB / 3.719 GB, free: 74.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/9.659, allocations: 0 / 3.719 GB, free: 74.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/9.659, allocations: 326.1 kB / 3.719 GB, free: 74.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000772/9.66, allocations: 368.5 kB / 3.719 GB, free: 74.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009653/9.661, allocations: 0.663 MB / 3.72 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/9.662, allocations: 405.4 kB / 3.72 GB, free: 72.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/9.662, allocations: 4 kB / 3.72 GB, free: 72.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002223/9.664, allocations: 0.9259 MB / 3.721 GB, free: 71.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005638/9.664, allocations: 2.009 MB / 3.723 GB, free: 69.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/9.665, allocations: 12 kB / 3.723 GB, free: 69.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/9.665, allocations: 8 kB / 3.723 GB, free: 69.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02198/9.687, allocations: 2.403 MB / 3.726 GB, free: 67.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/9.703, allocations: 8.159 MB / 3.734 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/9.706, allocations: 195.5 kB / 3.734 GB, free: 58.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/9.706, allocations: 31.97 kB / 3.734 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/9.706, allocations: 0 / 3.734 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/9.708, allocations: 415.6 kB / 3.734 GB, free: 58.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/9.708, allocations: 8 kB / 3.734 GB, free: 58.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/9.708, allocations: 8 kB / 3.734 GB, free: 58.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009595/9.709, allocations: 152.2 kB / 3.734 GB, free: 58.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/9.709, allocations: 8 kB / 3.734 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/9.71, allocations: 75.53 kB / 3.735 GB, free: 58.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/9.71, allocations: 24 kB / 3.735 GB, free: 58.08 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): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004235/9.711, allocations: 124.9 kB / 3.735 GB, free: 57.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/9.711, allocations: 94.86 kB / 3.735 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/9.712, allocations: 101.2 kB / 3.735 GB, free: 57.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/9.712, allocations: 4 kB / 3.735 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/9.712, allocations: 3.906 kB / 3.735 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/9.712, allocations: 0 / 3.735 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/9.717, allocations: 1.791 MB / 3.737 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/9.717, allocations: 0 / 3.737 GB, free: 55.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02241/9.739, allocations: 2.474 MB / 3.739 GB, free: 53.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/9.739, allocations: 4 kB / 3.739 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/9.739, allocations: 11.98 kB / 3.739 GB, free: 53.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05299/9.792, allocations: 19.49 MB / 3.758 GB, free: 32.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/9.793, allocations: 0 / 3.758 GB, free: 32.78 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001847/9.794, allocations: 0.9304 MB / 3.759 GB, free: 31.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/9.795, allocations: 167.9 kB / 3.759 GB, free: 31.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/9.796, allocations: 11.92 kB / 3.759 GB, free: 31.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/9.797, allocations: 159.7 kB / 3.759 GB, free: 31.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/9.798, allocations: 31.86 kB / 3.759 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/9.798, allocations: 15.98 kB / 3.759 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001359/9.799, allocations: 0.6804 MB / 3.76 GB, free: 30.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005198/9.804, allocations: 0.6205 MB / 3.761 GB, free: 30.07 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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/9.806, allocations: 1.038 MB / 3.762 GB, free: 29.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01996/9.826, allocations: 4.172 MB / 3.766 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/9.826, allocations: 0 / 3.766 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01854/9.845, allocations: 3.559 MB / 3.769 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/9.847, allocations: 362.6 kB / 3.77 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/9.851, allocations: 1.682 MB / 3.771 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009463/9.852, allocations: 1.276 MB / 3.772 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/9.852, allocations: 0 / 3.772 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.3572/10.21, allocations: 24.66 MB / 3.796 GB, free: 223.4 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)