Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 193.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 59.81 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2787, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002404/0.2811, allocations: 1.359 MB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004216/0.2853, allocations: 3.731 MB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.2854, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.2854, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.2859, allocations: 99.55 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.2863, allocations: 115.8 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.2864, allocations: 27.86 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.2864, allocations: 4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2865, allocations: 27.91 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/0.2866, allocations: 39.91 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.2866, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.2871, allocations: 307.5 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.2871, allocations: 3.938 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.2871, allocations: 7.938 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2874, allocations: 128 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2874, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2874, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.2874, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 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.0003866/0.2878, allocations: 359.4 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2878, allocations: 16.02 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.2879, allocations: 0.9375 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.288, allocations: 164.3 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.288, allocations: 4.375 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.288, allocations: 384 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.431e-05/0.2881, allocations: 33.83 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2881, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2881, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2881, allocations: 4 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.2882, allocations: 15.91 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.2883, allocations: 153.7 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.2884, allocations: 26.61 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.2884, allocations: 8.922 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.2887, allocations: 105 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2887, allocations: 34.5 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2887, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.2889, allocations: 49.62 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2889, allocations: 51.41 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.289, allocations: 101.8 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.289, allocations: 25.7 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.289, allocations: 88.27 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2891, allocations: 7.906 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.2891, allocations: 13.72 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2892, allocations: 310.8 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.2892, allocations: 3.984 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.2893, allocations: 8 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.2893, allocations: 8.859 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2893, allocations: 0 / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.933e-05/0.2894, allocations: 53.64 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2894, allocations: 4 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2894, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2894, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.2895, allocations: 7.984 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2895, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.2895, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2895, allocations: 7.938 kB / 1.075 GB, free: 3.016 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/0.2896, allocations: 105.9 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.2896, allocations: 7.938 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2897, allocations: 56.66 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2897, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2897, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2898, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2899, allocations: 157.9 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2899, allocations: 4 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.2899, allocations: 7.938 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2899, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2899, allocations: 8.031 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2899, allocations: 0 / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2899, allocations: 3.938 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.508e-05/0.29, allocations: 61.12 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2901, allocations: 85.05 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.2901, allocations: 0 / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.2901, allocations: 4 kB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.2901, allocations: 11.95 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.2902, allocations: 4 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.2902, allocations: 79.28 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2902, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002299/0.2904, allocations: 20 kB / 1.076 GB, free: 2.312 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.2906, allocations: 131.2 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.2907, allocations: 12 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2907, allocations: 4.062 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.2908, allocations: 4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.291, allocations: 4 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.2913, allocations: 135.6 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2915, allocations: 0.6729 MB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.2915, allocations: 12 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.2915, allocations: 7.438 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.2915, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of Templates: time 0.002834/0.2944, allocations: 0.7457 MB / 1.077 GB, free: 0.5391 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)