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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001407/0.001407, allocations: 193.9 kB / 16.13 MB, free: 6.652 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.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.691/1.691, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.00139/0.00139, allocations: 62.98 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2513, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002407/0.2538, allocations: 1.356 MB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.2579, allocations: 3.766 MB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.2579, allocations: 0 / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2579, allocations: 0 / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.2583, allocations: 99.55 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2586, allocations: 91.75 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.043e-05/0.2586, allocations: 23.92 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.2587, allocations: 4 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.2588, allocations: 27.84 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.2589, allocations: 35.91 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.2589, allocations: 0 / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.2593, allocations: 303.6 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.2594, allocations: 7.922 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.2594, allocations: 4 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2596, allocations: 124 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2596, allocations: 0 / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2596, allocations: 0 / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.2596, allocations: 3.938 kB / 0.7884 GB, free: 8.176 MB / 0.6075 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.0003917/0.26, allocations: 359.4 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2601, allocations: 8.031 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.2601, allocations: 4.938 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2602, allocations: 168.3 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-06/0.2602, allocations: 384 / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2602, allocations: 384 / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.2604, allocations: 41.75 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2604, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2604, allocations: 3.938 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2604, allocations: 0 / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.2604, allocations: 4 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.2606, allocations: 157.7 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.2606, allocations: 26.61 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.2607, allocations: 8.859 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.2609, allocations: 101.1 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2609, allocations: 38.44 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.261, allocations: 4 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/0.2611, allocations: 41.7 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2612, allocations: 51.41 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.2613, allocations: 105.8 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2613, allocations: 25.7 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.2613, allocations: 80.14 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.2613, allocations: 7.906 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.2614, allocations: 13.84 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2615, allocations: 318.8 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.2615, allocations: 4 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.2615, allocations: 4 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.176e-05/0.2616, allocations: 16.8 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2616, allocations: 0 / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.354e-05/0.2617, allocations: 45.62 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2617, allocations: 4.938 kB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2617, allocations: 8.094 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2617, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.2618, allocations: 256 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2618, allocations: 4 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.2618, allocations: 4 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2618, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 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 6.366e-05/0.2619, allocations: 106.5 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.2619, allocations: 11.84 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.262, allocations: 56.69 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.262, allocations: 0 / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.262, allocations: 4 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.262, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2622, allocations: 157.6 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2622, allocations: 0 / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.2622, allocations: 7.938 kB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2622, allocations: 0 / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.2622, allocations: 0 / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2622, allocations: 3.984 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2622, allocations: 3.984 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.2623, allocations: 69.11 kB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2624, allocations: 88.97 kB / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2624, allocations: 0 / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.2624, allocations: 4 kB / 0.7905 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.2624, allocations: 4 kB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.2624, allocations: 0 / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.2625, allocations: 79.31 kB / 0.7905 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2625, allocations: 4 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002101/0.2627, allocations: 23.98 kB / 0.7906 GB, free: 5.594 MB / 0.6075 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.00019/0.2629, allocations: 127.2 kB / 0.7907 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.263, allocations: 12 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.263, allocations: 0 / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.263, allocations: 11.92 kB / 0.7907 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2632, allocations: 7.938 kB / 0.7907 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.2635, allocations: 137.5 kB / 0.7908 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2638, allocations: 0.677 MB / 0.7915 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.2638, allocations: 4 kB / 0.7915 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.2638, allocations: 11.44 kB / 0.7915 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2638, allocations: 0 / 0.7915 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of Templates: time 0.002761/0.2666, allocations: 0.7449 MB / 0.7922 GB, free: 3.824 MB / 0.6075 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)