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.0009035/0.0009035, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008908/0.0008908, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.591/1.591, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.000503/0.000503, allocations: 11 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001543/0.2361, allocations: 1.002 MB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003818/0.2399, allocations: 3.274 MB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.24, allocations: 0 / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.24, allocations: 0 / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.2404, allocations: 79.78 kB / 0.7914 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.2407, allocations: 91.72 kB / 0.7915 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.633e-05/0.2408, allocations: 19.92 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.2408, allocations: 4 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2409, allocations: 31.84 kB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.241, allocations: 27.95 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.2411, allocations: 0 / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.2416, allocations: 283.6 kB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.2416, allocations: 15.94 kB / 0.7918 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.2417, allocations: 25.7 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.2419, allocations: 76.11 kB / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2419, allocations: 0 / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2419, allocations: 0 / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2419, allocations: 0 / 0.7919 GB, free: 7.008 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.0005184/0.2424, allocations: 359.2 kB / 0.7923 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.2425, allocations: 12.02 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.2426, allocations: 3.953 kB / 0.7923 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2427, allocations: 171.1 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2427, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.2428, allocations: 3.938 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2429, allocations: 37.69 kB / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2429, allocations: 3.938 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2429, allocations: 0 / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2429, allocations: 3.984 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.243, allocations: 4 kB / 0.7925 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.2432, allocations: 157.6 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.2432, allocations: 26.61 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.2435, allocations: 97.16 kB / 0.7928 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.2435, allocations: 30.56 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2435, allocations: 0 / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.2437, allocations: 49.62 kB / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2437, allocations: 59.44 kB / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.636e-05/0.2438, allocations: 93.86 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2438, allocations: 29.69 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2439, allocations: 88.14 kB / 0.7931 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.2439, allocations: 3.906 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.2439, allocations: 0 / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.244, allocations: 314.8 kB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.244, allocations: 4 kB / 0.7934 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-06/0.2441, allocations: 8 kB / 0.7934 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.2441, allocations: 4 kB / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2441, allocations: 0 / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.404e-05/0.2442, allocations: 41.62 kB / 0.7935 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2442, allocations: 8 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2442, allocations: 0 / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2442, allocations: 0 / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.2443, allocations: 4 kB / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2443, allocations: 0 / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.2443, allocations: 4.094 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2443, allocations: 7.938 kB / 0.7935 GB, free: 5.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.2444, allocations: 113.8 kB / 0.7936 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.2444, allocations: 3.984 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.2445, allocations: 48.77 kB / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2445, allocations: 0 / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2445, allocations: 0 / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2445, allocations: 3.984 kB / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2446, allocations: 161.6 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2446, allocations: 0 / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.2447, allocations: 8.234 kB / 0.7938 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2447, allocations: 0 / 0.7938 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2447, allocations: 4 kB / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2447, allocations: 0 / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2447, allocations: 0 / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.2448, allocations: 69 kB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.2448, allocations: 89.06 kB / 0.794 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2449, allocations: 4 kB / 0.794 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.2449, allocations: 0 / 0.794 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.2449, allocations: 3.938 kB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.2449, allocations: 0 / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.245, allocations: 87.27 kB / 0.7941 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.245, allocations: 0 / 0.7941 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002142/0.2452, allocations: 24 kB / 0.7941 GB, free: 4.469 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 (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.0001871/0.2454, allocations: 123.2 kB / 0.7942 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.911e-05/0.2454, allocations: 11.98 kB / 0.7942 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2455, allocations: 4 kB / 0.7942 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.2455, allocations: 4 kB / 0.7942 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.2456, allocations: 10.39 kB / 0.7942 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.2459, allocations: 166.4 kB / 0.7944 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2462, allocations: 0.677 MB / 0.795 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.2462, allocations: 4 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.2462, allocations: 7.438 kB / 0.7951 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2463, allocations: 0 / 0.7951 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.002723/0.249, allocations: 0.7142 MB / 0.7957 GB, free: 2.707 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: