Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7256/0.7256, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001777/0.001777, allocations: 185.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.744/1.744, allocations: 205.1 MB / 399.1 MB, free: 6.133 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.001152/0.001152, allocations: 79.45 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.115e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2248, allocations: 76.76 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.413, allocations: 360.8 MB / 0.9732 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.414, allocations: 89.31 kB / 0.9733 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.7202/2.134, allocations: 164.4 MB / 1.134 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.927e-05/2.134, allocations: 11.09 kB / 1.134 GB, free: 130.8 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001468/2.135, allocations: 0.657 MB / 1.135 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/2.136, allocations: 9.625 kB / 1.135 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/2.136, allocations: 42.41 kB / 1.135 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.034/2.17, allocations: 13.28 MB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/2.17, allocations: 3.906 kB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/2.17, allocations: 15.19 kB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002623/2.17, allocations: 89.14 kB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/2.17, allocations: 130.4 kB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/2.17, allocations: 0 / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/2.17, allocations: 3.844 kB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/2.171, allocations: 7.125 kB / 1.148 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/2.172, allocations: 0.9715 MB / 1.149 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/2.172, allocations: 76.62 kB / 1.149 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/2.172, allocations: 26.95 kB / 1.149 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/2.172, allocations: 186 kB / 1.149 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/2.172, allocations: 30.56 kB / 1.149 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/2.172, allocations: 0 / 1.149 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0008466/2.173, allocations: 153.9 kB / 1.149 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/2.173, allocations: 54.59 kB / 1.149 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/2.174, allocations: 254.9 kB / 1.15 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/2.174, allocations: 29.33 kB / 1.15 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/2.174, allocations: 157.4 kB / 1.15 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/2.174, allocations: 27.91 kB / 1.15 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/2.174, allocations: 0 / 1.15 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000103/2.174, allocations: 347.6 kB / 1.15 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/2.174, allocations: 27.25 kB / 1.15 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/2.174, allocations: 86.97 kB / 1.15 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/2.174, allocations: 47.09 kB / 1.15 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.174, allocations: 0 / 1.15 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003292/2.175, allocations: 145.7 kB / 1.15 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/2.175, allocations: 186.5 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/2.175, allocations: 0 / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/2.175, allocations: 0 / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/2.175, allocations: 33.16 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/2.175, allocations: 3.688 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/2.175, allocations: 36.95 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/2.175, allocations: 13.61 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/2.176, allocations: 3.688 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002007/2.176, allocations: 64.25 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/2.176, allocations: 0 / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/2.176, allocations: 0 / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/2.176, allocations: 39.67 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/2.176, allocations: 4.141 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/2.176, allocations: 27.53 kB / 1.151 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/2.176, allocations: 3.469 kB / 1.151 GB, free: 127.6 MB / 0.6355 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 (11): * Single equations (assignments): 11 * 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 8.418e-05/2.176, allocations: 107.9 kB / 1.151 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/2.176, allocations: 35.2 kB / 1.151 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/2.177, allocations: 147.4 kB / 1.151 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/2.177, allocations: 0 / 1.151 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.177, allocations: 0 / 1.151 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/2.177, allocations: 0 / 1.151 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/2.177, allocations: 264 kB / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.177, allocations: 3.5 kB / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/2.177, allocations: 24.59 kB / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/2.177, allocations: 7.625 kB / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/2.177, allocations: 1.125 kB / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/2.177, allocations: 0 / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.177, allocations: 0 / 1.151 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002543/2.177, allocations: 240.1 kB / 1.152 GB, free: 127.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/2.178, allocations: 102.1 kB / 1.152 GB, free: 127 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/2.178, allocations: 0 / 1.152 GB, free: 127 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/2.178, allocations: 27.61 kB / 1.152 GB, free: 127 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/2.178, allocations: 10.06 kB / 1.152 GB, free: 127 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/2.178, allocations: 0 / 1.152 GB, free: 127 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001634/2.178, allocations: 203.7 kB / 1.152 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005939/2.179, allocations: 156 kB / 1.152 GB, free: 126.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005675/2.179, allocations: 270 kB / 1.152 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002674/2.18, allocations: 133.7 kB / 1.152 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.18, allocations: 1.625 kB / 1.152 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/2.18, allocations: 37.12 kB / 1.152 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/2.18, allocations: 128.8 kB / 1.153 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/2.181, allocations: 341.2 kB / 1.153 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/2.181, allocations: 0.8314 MB / 1.154 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.91e-07/2.181, allocations: 3.344 kB / 1.154 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.01202/2.193, allocations: 6.315 MB / 1.16 GB, free: 125.8 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)