Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.588/2.588, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001441/0.001441, allocations: 185.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009979/0.0009975, allocations: 89.28 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006059/0.0006063, allocations: 13.5 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2158, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001605/0.2175, allocations: 1.002 MB / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.2222, allocations: 3.503 MB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.2223, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.2223, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.2228, allocations: 83.55 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.2232, allocations: 95.75 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.2232, allocations: 23.86 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.2233, allocations: 4 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2234, allocations: 19.92 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2235, allocations: 39.89 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2235, allocations: 0 / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.2241, allocations: 295.6 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.2241, allocations: 7.984 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.2242, allocations: 29.69 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2244, allocations: 80.11 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2244, allocations: 3.938 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2244, allocations: 0 / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2244, allocations: 0 / 0.9834 GB, free: 23.16 MB / 0.6198 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.0003397/0.2247, allocations: 359.3 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2248, allocations: 12.02 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2248, allocations: 7.953 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.2249, allocations: 167.1 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.225, allocations: 0 / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.225, allocations: 3.938 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.699e-05/0.2251, allocations: 33.64 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2251, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2251, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2251, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.2252, allocations: 11.95 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.2253, allocations: 157.7 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.2254, allocations: 22.61 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.2254, allocations: 8.844 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.2257, allocations: 93.16 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.2257, allocations: 42.5 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2258, allocations: 4 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.2259, allocations: 41.59 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.226, allocations: 55.41 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.226, allocations: 101.8 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.226, allocations: 25.7 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/0.2261, allocations: 84.14 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2261, allocations: 11.89 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.2261, allocations: 0 / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.2262, allocations: 315 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.2262, allocations: 4 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.2262, allocations: 0 / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.2263, allocations: 11.94 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2263, allocations: 0 / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.702e-05/0.2264, allocations: 37.69 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2264, allocations: 8 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2264, allocations: 0 / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2264, allocations: 96 / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.2265, allocations: 8 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2265, allocations: 3.984 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.2265, allocations: 0 / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.2266, allocations: 3.953 kB / 0.985 GB, free: 21.32 MB / 0.6198 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 5.551e-05/0.2266, allocations: 109.8 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.2266, allocations: 4 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.2268, allocations: 52.69 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2268, allocations: 7.969 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2268, allocations: 4 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-06/0.2268, allocations: 0 / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.784e-05/0.2269, allocations: 157.6 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2269, allocations: 256 / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.227, allocations: 8 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.227, allocations: 0 / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.227, allocations: 0 / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.227, allocations: 3.984 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.227, allocations: 3.984 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.611e-05/0.2271, allocations: 76.94 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.2272, allocations: 85.03 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2272, allocations: 0 / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.2272, allocations: 0 / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.2272, allocations: 4 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2273, allocations: 0 / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.2273, allocations: 83.28 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2273, allocations: 0 / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002575/0.2276, allocations: 28.02 kB / 0.9856 GB, free: 20.61 MB / 0.6198 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.0002034/0.2278, allocations: 127.2 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.418e-05/0.2279, allocations: 8 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2279, allocations: 0 / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.2279, allocations: 15.92 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.2282, allocations: 3.953 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.2285, allocations: 157.7 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2286, allocations: 0.677 MB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.2286, allocations: 4 kB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.2287, allocations: 7.438 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.2287, allocations: 11.94 kB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.003372/0.2321, allocations: 0.7127 MB / 0.9873 GB, free: 18.84 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)