Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 184.7 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4397/0.4397, allocations: 90.86 MB / 99.08 MB, free: 14.86 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.4 MB / 342.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 101 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.004e-05, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4051, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.505/3.91, allocations: 1.82 GB / 2.373 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/3.911, allocations: 82.12 kB / 2.373 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.3926/4.303, allocations: 221.6 MB / 2.59 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.039e-05/4.303, allocations: 7.984 kB / 2.59 GB, free: 16.44 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009054/4.304, allocations: 0.5677 MB / 2.59 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/4.304, allocations: 8.031 kB / 2.59 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/4.305, allocations: 51.67 kB / 2.591 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/4.305, allocations: 305.4 kB / 2.591 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/4.305, allocations: 8 kB / 2.591 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/4.305, allocations: 15.91 kB / 2.591 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001896/4.305, allocations: 83.97 kB / 2.591 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/4.306, allocations: 156.1 kB / 2.591 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/4.306, allocations: 0 / 2.591 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/4.306, allocations: 0 / 2.591 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/4.306, allocations: 7.984 kB / 2.591 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/4.307, allocations: 0.7594 MB / 2.592 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/4.307, allocations: 62.56 kB / 2.592 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/4.307, allocations: 48.91 kB / 2.592 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/4.307, allocations: 194.2 kB / 2.592 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/4.307, allocations: 34.56 kB / 2.592 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/4.307, allocations: 0 / 2.592 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000461/4.308, allocations: 149.5 kB / 2.592 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/4.308, allocations: 55.31 kB / 2.592 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/4.308, allocations: 188.3 kB / 2.592 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/4.308, allocations: 25.7 kB / 2.593 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/4.308, allocations: 128.2 kB / 2.593 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/4.308, allocations: 35.45 kB / 2.593 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/4.308, allocations: 0 / 2.593 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/4.308, allocations: 330.8 kB / 2.593 GB, free: 13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/4.308, allocations: 28 kB / 2.593 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/4.308, allocations: 86.78 kB / 2.593 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/4.308, allocations: 39.98 kB / 2.593 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/4.308, allocations: 0 / 2.593 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00017/4.308, allocations: 125.4 kB / 2.593 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/4.308, allocations: 359.9 kB / 2.594 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/4.308, allocations: 8.031 kB / 2.594 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/4.308, allocations: 0 / 2.594 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/4.309, allocations: 27.92 kB / 2.594 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/4.309, allocations: 0 / 2.594 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/4.309, allocations: 27.89 kB / 2.594 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/4.309, allocations: 7.984 kB / 2.594 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/4.309, allocations: 4 kB / 2.594 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001129/4.309, allocations: 71.89 kB / 2.594 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/4.309, allocations: 0 / 2.594 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/4.309, allocations: 0 / 2.594 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/4.309, allocations: 23.98 kB / 2.594 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/4.309, allocations: 12.05 kB / 2.594 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/4.309, allocations: 23.83 kB / 2.594 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/4.309, allocations: 11.98 kB / 2.594 GB, free: 12.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.934e-05/4.309, allocations: 105 kB / 2.594 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/4.309, allocations: 27.7 kB / 2.594 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/4.31, allocations: 127.6 kB / 2.594 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/4.31, allocations: 96 / 2.594 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/4.31, allocations: 3.938 kB / 2.594 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/4.31, allocations: 0 / 2.594 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/4.31, allocations: 0.5162 MB / 2.595 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/4.31, allocations: 0 / 2.595 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/4.31, allocations: 27.97 kB / 2.595 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/4.31, allocations: 4 kB / 2.595 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/4.31, allocations: 16.12 kB / 2.595 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/4.31, allocations: 3.938 kB / 2.595 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/4.31, allocations: 7.938 kB / 2.595 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002015/4.311, allocations: 337.1 kB / 2.595 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/4.311, allocations: 109.1 kB / 2.595 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/4.311, allocations: 7.984 kB / 2.595 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/4.311, allocations: 19.92 kB / 2.595 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/4.311, allocations: 11.97 kB / 2.595 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/4.311, allocations: 16 kB / 2.595 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.379e-05/4.311, allocations: 148.5 kB / 2.595 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005838/4.312, allocations: 159.7 kB / 2.595 GB, free: 10.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001296/4.313, allocations: 1.034 MB / 2.596 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00025/4.313, allocations: 121.2 kB / 2.597 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/4.313, allocations: 4.125 kB / 2.597 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/4.313, allocations: 43.92 kB / 2.597 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/4.314, allocations: 107.5 kB / 2.597 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/4.315, allocations: 297.8 kB / 2.597 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/4.315, allocations: 0.779 MB / 2.598 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/4.315, allocations: 0 / 2.598 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of Templates: time 0.2356/4.55, allocations: 8.99 MB / 2.606 GB, free: 214.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)