Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.673/1.673, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 183.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007704/0.0007706, allocations: 95.69 kB / 0.7808 GB, free: 43.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006884, allocations: 12 kB / 0.9088 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6258, allocations: 120.3 MB / 1.026 GB, free: 57.06 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8143/1.44, allocations: 372.7 MB / 1.39 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.44, allocations: 93.16 kB / 1.39 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03585/1.476, allocations: 16.64 MB / 1.407 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/1.476, allocations: 0 / 1.407 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.476, allocations: 0 / 1.407 GB, free: 216.8 MB / 0.8855 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.0002819/1.477, allocations: 377.8 kB / 1.407 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/1.477, allocations: 8.781 kB / 1.407 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/1.477, allocations: 8.844 kB / 1.407 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.292e-05/1.477, allocations: 165.6 kB / 1.407 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.477, allocations: 384 / 1.407 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/1.477, allocations: 4.375 kB / 1.407 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/1.477, allocations: 32.23 kB / 1.407 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/1.477, allocations: 192 / 1.407 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/1.477, allocations: 7.938 kB / 1.407 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.477, allocations: 4.734 kB / 1.407 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/1.477, allocations: 8.656 kB / 1.407 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/1.477, allocations: 149.1 kB / 1.407 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/1.477, allocations: 27.31 kB / 1.407 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/1.477, allocations: 13.72 kB / 1.407 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/1.477, allocations: 94.12 kB / 1.407 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/1.477, allocations: 35.27 kB / 1.408 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.477, allocations: 0 / 1.408 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000112/1.478, allocations: 43.23 kB / 1.408 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/1.478, allocations: 56.14 kB / 1.408 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.628e-05/1.478, allocations: 108.4 kB / 1.408 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/1.478, allocations: 25.7 kB / 1.408 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/1.478, allocations: 80.84 kB / 1.408 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/1.478, allocations: 8.422 kB / 1.408 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-06/1.478, allocations: 0 / 1.408 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/1.478, allocations: 316.2 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/1.478, allocations: 0 / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/1.478, allocations: 4.656 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/1.478, allocations: 17.72 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.478, allocations: 0 / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.988e-05/1.478, allocations: 39.3 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/1.478, allocations: 4 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.478, allocations: 7.875 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.478, allocations: 0.7969 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/1.478, allocations: 8 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.478, allocations: 0.7969 kB / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/1.478, allocations: 0 / 1.408 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/1.478, allocations: 4.031 kB / 1.408 GB, free: 215 MB / 0.8855 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 4.331e-05/1.478, allocations: 110.6 kB / 1.408 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/1.478, allocations: 7.891 kB / 1.408 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/1.478, allocations: 64.48 kB / 1.408 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.478, allocations: 0 / 1.408 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.478, allocations: 0 / 1.408 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.478, allocations: 0.7031 kB / 1.408 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.35e-05/1.478, allocations: 153.2 kB / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.478, allocations: 11.97 kB / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/1.478, allocations: 8.594 kB / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.478, allocations: 0 / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/1.478, allocations: 4.734 kB / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/1.478, allocations: 0 / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.478, allocations: 0 / 1.409 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.969e-05/1.478, allocations: 64.28 kB / 1.409 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/1.478, allocations: 77.91 kB / 1.409 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/1.478, allocations: 12.77 kB / 1.409 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/1.478, allocations: 0 / 1.409 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/1.478, allocations: 0.7969 kB / 1.409 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/1.478, allocations: 0 / 1.409 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.187e-05/1.478, allocations: 84.88 kB / 1.409 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/1.478, allocations: 0 / 1.409 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002085/1.479, allocations: 29.59 kB / 1.409 GB, free: 214.3 MB / 0.8855 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.0001978/1.479, allocations: 155.6 kB / 1.409 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.489e-05/1.479, allocations: 16.78 kB / 1.409 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.479, allocations: 64 / 1.409 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/1.479, allocations: 4.75 kB / 1.409 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/1.479, allocations: 0.6094 kB / 1.409 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/1.479, allocations: 156.8 kB / 1.409 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/1.479, allocations: 0.6796 MB / 1.41 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.567e-05/1.479, allocations: 4.516 kB / 1.41 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/1.48, allocations: 7.438 kB / 1.41 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/1.48, allocations: 3.938 kB / 1.41 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.003175/1.483, allocations: 1.078 MB / 1.411 GB, free: 212.5 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)