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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 102.4 kB / 16.29 MB, free: 6.43 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.001269/0.001269, allocations: 185.1 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.255, allocations: 114.5 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002434/0.2575, allocations: 1.291 MB / 0.7853 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3894/0.6469, allocations: 3.74 MB / 0.789 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.647, allocations: 0 / 0.789 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.647, allocations: 0 / 0.789 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.6475, allocations: 108 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.6478, allocations: 129 kB / 0.7892 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.6479, allocations: 32.72 kB / 0.7892 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.6479, allocations: 6.297 kB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.648, allocations: 24.28 kB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.6481, allocations: 35.14 kB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.6482, allocations: 6.969 kB / 0.7893 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.6486, allocations: 307.4 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.6486, allocations: 2.625 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.6486, allocations: 8.859 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.6488, allocations: 116.8 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6488, allocations: 2.625 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6489, allocations: 1.844 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6489, allocations: 2.203 kB / 0.7897 GB, free: 45.88 MB / 0.6544 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.0003267/0.6492, allocations: 359.4 kB / 0.7901 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6492, allocations: 7.875 kB / 0.7901 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.6493, allocations: 4.156 kB / 0.7901 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.6494, allocations: 171.5 kB / 0.7903 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.6494, allocations: 6.375 kB / 0.7903 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.6494, allocations: 3.938 kB / 0.7903 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.05e-05/0.6495, allocations: 37.02 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6495, allocations: 2.625 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.6495, allocations: 0 / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6495, allocations: 0 / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.6496, allocations: 5.719 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.6497, allocations: 154.3 kB / 0.7905 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.6498, allocations: 27.55 kB / 0.7905 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.6498, allocations: 9.203 kB / 0.7905 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.65, allocations: 97.45 kB / 0.7906 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.65, allocations: 35.47 kB / 0.7906 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.65, allocations: 2.5 kB / 0.7906 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.6502, allocations: 45.64 kB / 0.7907 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.6502, allocations: 53.38 kB / 0.7907 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.6503, allocations: 103.8 kB / 0.7908 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.6503, allocations: 26.2 kB / 0.7908 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.6503, allocations: 85.33 kB / 0.7909 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.6504, allocations: 3.906 kB / 0.7909 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.6504, allocations: 17.62 kB / 0.7909 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.6504, allocations: 313.6 kB / 0.7912 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.6505, allocations: 2.969 kB / 0.7912 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.6505, allocations: 3.031 kB / 0.7912 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.6505, allocations: 17.98 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6505, allocations: 0 / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.5e-05/0.6506, allocations: 45.88 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.6506, allocations: 5.812 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6506, allocations: 0 / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6506, allocations: 2 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.6507, allocations: 7.062 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6507, allocations: 0.8125 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.6507, allocations: 7.812 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.6507, allocations: 3.094 kB / 0.7913 GB, free: 44.23 MB / 0.6544 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 4.088e-05/0.6508, allocations: 109.8 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.6508, allocations: 10 kB / 0.7914 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.6509, allocations: 52.98 kB / 0.7915 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.6509, allocations: 1 kB / 0.7915 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6509, allocations: 0 / 0.7915 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6509, allocations: 2.625 kB / 0.7915 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.064e-05/0.651, allocations: 155.9 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.651, allocations: 0.9062 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.651, allocations: 9.188 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.651, allocations: 1.531 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.651, allocations: 0 / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6511, allocations: 0 / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6511, allocations: 0 / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.322e-05/0.6511, allocations: 71.16 kB / 0.7917 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.6512, allocations: 83.67 kB / 0.7918 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.6512, allocations: 0 / 0.7918 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.6512, allocations: 1.438 kB / 0.7918 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.6512, allocations: 6 kB / 0.7918 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.6512, allocations: 2.875 kB / 0.7918 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.598e-05/0.6513, allocations: 88.03 kB / 0.7919 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6513, allocations: 0 / 0.7919 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002101/0.6515, allocations: 26.89 kB / 0.7919 GB, free: 43.64 MB / 0.6544 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.0001668/0.6517, allocations: 125 kB / 0.792 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.6517, allocations: 17.38 kB / 0.7921 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6517, allocations: 1.688 kB / 0.7921 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.6518, allocations: 6.969 kB / 0.7921 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.6521, allocations: 5.891 kB / 0.7921 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.6524, allocations: 132.2 kB / 0.7922 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.6525, allocations: 0.6786 MB / 0.7929 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.6526, allocations: 3.719 kB / 0.7929 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.6526, allocations: 10.47 kB / 0.7929 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of SimCode: time 1.723e-06/0.6526, allocations: 4 kB / 0.7929 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.003451/0.6561, allocations: 0.7591 MB / 0.7936 GB, free: 42.7 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)