Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 90.91 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.655e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6958, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.9054, allocations: 141.3 MB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.9058, allocations: 94.48 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01269/0.9185, allocations: 3.333 MB / 1.115 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9185, allocations: 0 / 1.115 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9185, allocations: 0 / 1.115 GB, free: 5.477 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004111/0.919, allocations: 355.9 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.919, allocations: 12.03 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.9191, allocations: 78.16 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.9195, allocations: 274.1 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/0.9196, allocations: 150.6 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.9197, allocations: 157.1 kB / 1.116 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.887e-05/0.9198, allocations: 154.5 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.9199, allocations: 101 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.303e-05/0.92, allocations: 83.27 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.92, allocations: 154.6 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/0.9201, allocations: 150.6 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.9205, allocations: 438.5 kB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.9206, allocations: 181 kB / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.9207, allocations: 80.14 kB / 1.117 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.9207, allocations: 78.56 kB / 1.117 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.9208, allocations: 109.8 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.9208, allocations: 0 / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.324e-05/0.9209, allocations: 29.61 kB / 1.117 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.921, allocations: 55.41 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.9211, allocations: 124 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.9211, allocations: 25.7 kB / 1.117 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.9212, allocations: 100 kB / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.9212, allocations: 0 / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.9213, allocations: 0 / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.9214, allocations: 314.8 kB / 1.118 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.9215, allocations: 7.938 kB / 1.118 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.9215, allocations: 0 / 1.118 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.9217, allocations: 28 kB / 1.118 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9217, allocations: 8 kB / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002037/0.9219, allocations: 61.66 kB / 1.118 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.9219, allocations: 7.953 kB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.9219, allocations: 0 / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.922, allocations: 0 / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.922, allocations: 4 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.922, allocations: 0 / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.922, allocations: 3.906 kB / 1.118 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.922, allocations: 0 / 1.118 GB, free: 2.023 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 0.0001137/0.9221, allocations: 180.3 kB / 1.118 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.9222, allocations: 116.9 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.9223, allocations: 112.9 kB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/0.9224, allocations: 176.3 kB / 1.118 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.448e-05/0.9224, allocations: 180.2 kB / 1.119 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.906e-05/0.9225, allocations: 177 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.9228, allocations: 401.8 kB / 1.119 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-05/0.9228, allocations: 108.9 kB / 1.119 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.9229, allocations: 103.7 kB / 1.119 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.923, allocations: 180.3 kB / 1.119 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.9231, allocations: 180.2 kB / 1.12 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.152e-05/0.9232, allocations: 184.2 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-05/0.9232, allocations: 181.2 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.9234, allocations: 311.7 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.9235, allocations: 189.9 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.9236, allocations: 180.2 kB / 1.121 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.9237, allocations: 109 kB / 1.121 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.9238, allocations: 180.2 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.9239, allocations: 105.8 kB / 1.121 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.924, allocations: 101.9 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.924, allocations: 2.062 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003274/0.9243, allocations: 39.94 kB / 1.121 GB, free: 14.4 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.0003741/0.9247, allocations: 238.4 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.9248, allocations: 37.7 kB / 1.121 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9248, allocations: 0 / 1.121 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.9248, allocations: 0 / 1.121 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.9253, allocations: 0.5264 MB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.9255, allocations: 153.7 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.9259, allocations: 0.6853 MB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.9259, allocations: 8.031 kB / 1.123 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.9259, allocations: 11.44 kB / 1.123 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9259, allocations: 0 / 1.123 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.003604/0.9295, allocations: 1.182 MB / 1.124 GB, free: 11.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)