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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 293 MB / 309 MB, free: 4.816 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.0009278/0.0009278, allocations: 176.6 kB / 378.7 MB, free: 1.004 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.494/1.494, allocations: 205.4 MB / 0.6383 GB, free: 8.117 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.0008554/0.0008554, allocations: 86.34 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004069, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2613, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8449/1.106, allocations: 370.4 MB / 1.352 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.107, allocations: 98.28 kB / 1.352 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03932/1.146, allocations: 16.34 MB / 1.368 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.364e-06/1.146, allocations: 0.5625 kB / 1.368 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.146, allocations: 0 / 1.368 GB, free: 2.328 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.0004767/1.146, allocations: 380.8 kB / 1.369 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.147, allocations: 12.03 kB / 1.369 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/1.147, allocations: 4.844 kB / 1.369 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.147, allocations: 173.6 kB / 1.369 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/1.147, allocations: 1.406 kB / 1.369 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/1.147, allocations: 4.312 kB / 1.369 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/1.147, allocations: 30.27 kB / 1.369 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/1.147, allocations: 192 / 1.369 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.147, allocations: 3.938 kB / 1.369 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.147, allocations: 0 / 1.369 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/1.147, allocations: 11.98 kB / 1.369 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/1.147, allocations: 149.7 kB / 1.369 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/1.147, allocations: 30.59 kB / 1.369 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/1.147, allocations: 8.797 kB / 1.369 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/1.147, allocations: 97.16 kB / 1.369 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.148, allocations: 35.31 kB / 1.369 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/1.148, allocations: 0 / 1.369 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.00015/1.148, allocations: 49.62 kB / 1.369 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.148, allocations: 51.41 kB / 1.369 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/1.148, allocations: 103.4 kB / 1.369 GB, free: 1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/1.148, allocations: 25.7 kB / 1.369 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/1.148, allocations: 84.14 kB / 1.369 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.148, allocations: 11.84 kB / 1.369 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/1.148, allocations: 5.156 kB / 1.369 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.148, allocations: 310.8 kB / 1.37 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/1.148, allocations: 7.938 kB / 1.37 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/1.148, allocations: 0 / 1.37 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/1.148, allocations: 16.86 kB / 1.37 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.148, allocations: 0 / 1.37 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.185e-05/1.148, allocations: 41.59 kB / 1.37 GB, free: 492 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.148, allocations: 6.031 kB / 1.37 GB, free: 488 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.148, allocations: 8.031 kB / 1.37 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.148, allocations: 4 kB / 1.37 GB, free: 476 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/1.148, allocations: 0 / 1.37 GB, free: 476 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.148, allocations: 4.75 kB / 1.37 GB, free: 472 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/1.148, allocations: 4 kB / 1.37 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/1.148, allocations: 3.938 kB / 1.37 GB, free: 464 kB / 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.835e-05/1.148, allocations: 113.8 kB / 1.37 GB, free: 340 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/1.148, allocations: 4 kB / 1.37 GB, free: 336 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/1.149, allocations: 49.98 kB / 1.37 GB, free: 284 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.149, allocations: 0 / 1.37 GB, free: 284 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.149, allocations: 5.047 kB / 1.37 GB, free: 280 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.149, allocations: 4 kB / 1.37 GB, free: 276 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/1.149, allocations: 149.7 kB / 1.37 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.149, allocations: 3.984 kB / 1.37 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/1.149, allocations: 4 kB / 1.37 GB, free: 68 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.149, allocations: 0 / 1.37 GB, free: 68 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/1.149, allocations: 3.938 kB / 1.37 GB, free: 64 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.149, allocations: 1.375 kB / 1.37 GB, free: 64 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.149, allocations: 4.656 kB / 1.37 GB, free: 60 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.488/1.637, allocations: 64.3 kB / 1.37 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/1.637, allocations: 83.22 kB / 1.37 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/1.637, allocations: 5.453 kB / 1.37 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/1.637, allocations: 0.7031 kB / 1.37 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/1.637, allocations: 2.656 kB / 1.37 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/1.637, allocations: 0.5156 kB / 1.37 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.518e-05/1.637, allocations: 83.22 kB / 1.37 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.91e-07/1.637, allocations: 0.5 kB / 1.37 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003485/1.637, allocations: 29.72 kB / 1.37 GB, free: 277.1 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.0002859/1.638, allocations: 152.7 kB / 1.371 GB, free: 277 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/1.638, allocations: 14.53 kB / 1.371 GB, free: 277 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.638, allocations: 4.547 kB / 1.371 GB, free: 277 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/1.638, allocations: 6.719 kB / 1.371 GB, free: 277 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/1.638, allocations: 8.844 kB / 1.371 GB, free: 277 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/1.638, allocations: 150.6 kB / 1.371 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/1.639, allocations: 0.6794 MB / 1.371 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.918e-05/1.639, allocations: 6.469 kB / 1.371 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/1.639, allocations: 9.875 kB / 1.371 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/1.639, allocations: 0 / 1.371 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.003317/1.642, allocations: 1.072 MB / 1.373 GB, free: 276.2 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)