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.658/1.658, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001121/0.00112, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.603/1.603, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008707/0.0008704, allocations: 92.67 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.974e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6357, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8891/1.525, allocations: 369.6 MB / 1.334 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.525, allocations: 92.16 kB / 1.334 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0309/1.556, allocations: 16.3 MB / 1.35 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.803e-06/1.556, allocations: 3.188 kB / 1.35 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.556, allocations: 4 kB / 1.35 GB, free: 170.4 MB / 0.8542 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.0003482/1.557, allocations: 368.9 kB / 1.351 GB, free: 170 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.557, allocations: 9.625 kB / 1.351 GB, free: 170 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/1.557, allocations: 7.438 kB / 1.351 GB, free: 170 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.557, allocations: 169.4 kB / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/1.557, allocations: 3.188 kB / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.557, allocations: 3.938 kB / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.619e-05/1.557, allocations: 3.188 kB / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.597e-05/1.557, allocations: 36.97 kB / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.557, allocations: 0 / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.557, allocations: 0 / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.557, allocations: 0 / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/1.557, allocations: 136.1 kB / 1.351 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.145e-05/1.557, allocations: 29.72 kB / 1.351 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/1.557, allocations: 11.7 kB / 1.351 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/1.557, allocations: 97.91 kB / 1.351 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/1.557, allocations: 30.56 kB / 1.351 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.557, allocations: 3.719 kB / 1.351 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002599/1.558, allocations: 46.48 kB / 1.351 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/1.558, allocations: 51.41 kB / 1.351 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/1.558, allocations: 91.78 kB / 1.351 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/1.558, allocations: 25.7 kB / 1.351 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/1.558, allocations: 87.39 kB / 1.351 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/1.558, allocations: 10.94 kB / 1.351 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/1.558, allocations: 0 / 1.351 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.62e-05/1.558, allocations: 314.8 kB / 1.352 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/1.558, allocations: 3.188 kB / 1.352 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/1.558, allocations: 3.219 kB / 1.352 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/1.558, allocations: 14.3 kB / 1.352 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.558, allocations: 0 / 1.352 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/1.558, allocations: 53.89 kB / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.558, allocations: 6.406 kB / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.558, allocations: 0 / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.558, allocations: 0 / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/1.558, allocations: 3.188 kB / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.558, allocations: 3.984 kB / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/1.558, allocations: 5.844 kB / 1.352 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/1.558, allocations: 0 / 1.352 GB, free: 168.7 MB / 0.8542 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 (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 6.108e-05/1.559, allocations: 101 kB / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/1.559, allocations: 11.14 kB / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/1.559, allocations: 62.33 kB / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.559, allocations: 3.938 kB / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.559, allocations: 0 / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/1.559, allocations: 3.984 kB / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.733e-05/1.559, allocations: 136.4 kB / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.559, allocations: 0 / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/1.559, allocations: 3.219 kB / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.559, allocations: 0 / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/1.559, allocations: 7.984 kB / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.559, allocations: 0 / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.559, allocations: 0 / 1.352 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.559, allocations: 72.42 kB / 1.352 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/1.559, allocations: 80.33 kB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/1.559, allocations: 0 / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/1.559, allocations: 3.953 kB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/1.559, allocations: 5.375 kB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/1.559, allocations: 7.188 kB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.981e-05/1.559, allocations: 83.83 kB / 1.352 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.559, allocations: 0 / 1.352 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002257/1.559, allocations: 30.88 kB / 1.352 GB, free: 168.1 MB / 0.8542 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 (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.0002282/1.56, allocations: 154.2 kB / 1.353 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.114e-05/1.56, allocations: 7.594 kB / 1.353 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.56, allocations: 0 / 1.353 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.208e-06/1.56, allocations: 7.25 kB / 1.353 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/1.56, allocations: 9.281 kB / 1.353 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/1.56, allocations: 51.75 kB / 1.353 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/1.56, allocations: 0.6766 MB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.633e-05/1.56, allocations: 9.688 kB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/1.56, allocations: 11.31 kB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.56, allocations: 3.938 kB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002677/1.563, allocations: 0.922 MB / 1.354 GB, free: 166.8 MB / 0.8542 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)