Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.001473/0.001473, allocations: 186.9 kB / 7.807 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4675/0.4675, allocations: 90.85 MB / 99.07 MB, free: 15.07 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.262/1.262, allocations: 221.4 MB / 342.8 MB, free: 5.223 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.001002/0.001001, allocations: 96.53 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.812e-06/6.853e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 72.3 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.8194, allocations: 364.6 MB / 0.909 GB, free: 7.805 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.8197, allocations: 87.45 kB / 0.9091 GB, free: 7.762 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.5401/1.36, allocations: 171 MB / 1.076 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.662e-05/1.36, allocations: 13.56 kB / 1.076 GB, free: 124.9 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001306/1.361, allocations: 0.673 MB / 1.077 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.361, allocations: 12.03 kB / 1.077 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/1.361, allocations: 39.53 kB / 1.077 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03432/1.396, allocations: 14.65 MB / 1.091 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/1.396, allocations: 8 kB / 1.091 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/1.396, allocations: 12 kB / 1.091 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001937/1.396, allocations: 96.56 kB / 1.091 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/1.396, allocations: 135.9 kB / 1.091 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.396, allocations: 0 / 1.091 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.396, allocations: 0 / 1.091 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.396, allocations: 4 kB / 1.091 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/1.397, allocations: 0.8255 MB / 1.092 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/1.398, allocations: 98.61 kB / 1.092 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/1.398, allocations: 53.06 kB / 1.092 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.398, allocations: 344.3 kB / 1.093 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/1.398, allocations: 34.56 kB / 1.093 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/1.398, allocations: 0 / 1.093 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003339/1.398, allocations: 133.2 kB / 1.093 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.425e-05/1.398, allocations: 55.41 kB / 1.093 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.398, allocations: 246.1 kB / 1.093 GB, free: 107 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/1.398, allocations: 25.7 kB / 1.093 GB, free: 107 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/1.398, allocations: 152.3 kB / 1.093 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.399, allocations: 39.39 kB / 1.093 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/1.399, allocations: 0 / 1.093 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/1.399, allocations: 342.7 kB / 1.094 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/1.399, allocations: 27.98 kB / 1.094 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/1.399, allocations: 82.86 kB / 1.094 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.399, allocations: 43.91 kB / 1.094 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.399, allocations: 4 kB / 1.094 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002353/1.399, allocations: 137.2 kB / 1.094 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/1.399, allocations: 185.9 kB / 1.094 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/1.399, allocations: 4 kB / 1.094 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.399, allocations: 0 / 1.094 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.399, allocations: 31.98 kB / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/1.399, allocations: 0 / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/1.4, allocations: 35.81 kB / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/1.4, allocations: 4 kB / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-06/1.4, allocations: 4 kB / 1.094 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001804/1.4, allocations: 84.05 kB / 1.094 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/1.4, allocations: 0 / 1.094 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/1.4, allocations: 4 kB / 1.094 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.4, allocations: 27.98 kB / 1.094 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/1.4, allocations: 7.938 kB / 1.094 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/1.4, allocations: 23.88 kB / 1.094 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/1.4, allocations: 12 kB / 1.094 GB, free: 105.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.349e-05/1.4, allocations: 105 kB / 1.094 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/1.4, allocations: 35.53 kB / 1.094 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/1.401, allocations: 192.5 kB / 1.095 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.401, allocations: 0 / 1.095 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.401, allocations: 7.984 kB / 1.095 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.401, allocations: 0 / 1.095 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/1.401, allocations: 0.5315 MB / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.401, allocations: 0 / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/1.401, allocations: 31.98 kB / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.401, allocations: 0 / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.401, allocations: 4 kB / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.401, allocations: 3.938 kB / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.401, allocations: 4 kB / 1.095 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000266/1.402, allocations: 322.3 kB / 1.095 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/1.402, allocations: 116.7 kB / 1.096 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/1.402, allocations: 4 kB / 1.096 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.402, allocations: 32.56 kB / 1.096 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/1.402, allocations: 7.984 kB / 1.096 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/1.402, allocations: 12 kB / 1.096 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000123/1.402, allocations: 196.6 kB / 1.096 GB, free: 104 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005371/1.403, allocations: 167.6 kB / 1.096 GB, free: 103.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004632/1.403, allocations: 281.6 kB / 1.096 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002227/1.403, allocations: 150 kB / 1.096 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.403, allocations: 0 / 1.096 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/1.403, allocations: 63.86 kB / 1.096 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/1.404, allocations: 121.6 kB / 1.097 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/1.405, allocations: 367.2 kB / 1.097 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/1.405, allocations: 0.8382 MB / 1.098 GB, free: 102 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/1.405, allocations: 0 / 1.098 GB, free: 102 MB / 0.6042 GB Notification: Performance of Templates: time 0.01028/1.415, allocations: 6.24 MB / 1.104 GB, free: 95.84 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)