Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.002022/0.002021, allocations: 181 kB / 377.1 MB, free: 1.492 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.738/1.738, allocations: 205.4 MB / 0.6367 GB, free: 8.59 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.0009166/0.0009166, allocations: 83.95 kB / 0.751 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3007, allocations: 116.3 MB / 0.9884 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9727/1.273, allocations: 370.4 MB / 1.35 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.274, allocations: 94.14 kB / 1.35 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03792/1.312, allocations: 16.43 MB / 1.366 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/1.312, allocations: 0 / 1.366 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.312, allocations: 0.6562 kB / 1.366 GB, free: 3.348 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004102/1.312, allocations: 372.6 kB / 1.367 GB, free: 2.938 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.312, allocations: 12.02 kB / 1.367 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/1.312, allocations: 17.95 kB / 1.367 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.312, allocations: 159.1 kB / 1.367 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.312, allocations: 3.438 kB / 1.367 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/1.312, allocations: 0 / 1.367 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.313, allocations: 34.36 kB / 1.367 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.313, allocations: 0 / 1.367 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.313, allocations: 3.938 kB / 1.367 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.313, allocations: 1.875 kB / 1.367 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.02e-05/1.313, allocations: 11.98 kB / 1.367 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/1.313, allocations: 158.7 kB / 1.367 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/1.313, allocations: 26.61 kB / 1.367 GB, free: 2.422 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/1.313, allocations: 93.72 kB / 1.367 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.313, allocations: 32.97 kB / 1.367 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.313, allocations: 0 / 1.367 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001513/1.313, allocations: 53.62 kB / 1.367 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.313, allocations: 51.41 kB / 1.367 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/1.314, allocations: 97 kB / 1.367 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/1.314, allocations: 26.55 kB / 1.367 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/1.314, allocations: 84.12 kB / 1.367 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/1.314, allocations: 3.906 kB / 1.367 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/1.314, allocations: 0 / 1.367 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.314, allocations: 314.8 kB / 1.368 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/1.314, allocations: 8.125 kB / 1.368 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/1.314, allocations: 3.953 kB / 1.368 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.314, allocations: 0 / 1.368 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.104e-05/1.314, allocations: 50.56 kB / 1.368 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.314, allocations: 0 / 1.368 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.314, allocations: 0 / 1.368 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.314, allocations: 0.7969 kB / 1.368 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.314, allocations: 5 kB / 1.368 GB, free: 1.527 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.263e-05/1.314, allocations: 110.7 kB / 1.368 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/1.314, allocations: 3.906 kB / 1.368 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/1.314, allocations: 53.5 kB / 1.368 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.314, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.314, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.314, allocations: 4.594 kB / 1.368 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/1.314, allocations: 157.7 kB / 1.368 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.314, allocations: 7.891 kB / 1.368 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/1.314, allocations: 5 kB / 1.368 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.314, allocations: 3.984 kB / 1.368 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/1.314, allocations: 0 / 1.368 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.314, allocations: 4.938 kB / 1.368 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.314, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.006e-05/1.315, allocations: 61.14 kB / 1.368 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/1.315, allocations: 92.98 kB / 1.368 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/1.315, allocations: 4 kB / 1.368 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/1.315, allocations: 1.062 kB / 1.368 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/1.315, allocations: 3.938 kB / 1.368 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/1.315, allocations: 0 / 1.368 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.596e-05/1.315, allocations: 79.28 kB / 1.368 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/1.315, allocations: 0 / 1.368 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00022/1.315, allocations: 28.92 kB / 1.368 GB, free: 0.8242 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002686/1.315, allocations: 163.2 kB / 1.369 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.677e-05/1.315, allocations: 8 kB / 1.369 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.315, allocations: 0 / 1.369 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/1.315, allocations: 4 kB / 1.369 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/1.316, allocations: 6.062 kB / 1.369 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/1.316, allocations: 154.8 kB / 1.369 GB, free: 476 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4592/1.775, allocations: 0.6783 MB / 1.369 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.172e-05/1.775, allocations: 5.531 kB / 1.369 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/1.775, allocations: 8.781 kB / 1.369 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/1.775, allocations: 2.078 kB / 1.369 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.003885/1.779, allocations: 1.035 MB / 1.37 GB, free: 277.3 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)