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.0007916/0.0007918, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006236/0.006236, allocations: 170 kB / 16.27 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.413/1.413, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.737/1.737, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0007039/0.0007041, allocations: 11.38 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2467, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001552/0.2483, allocations: 1.017 MB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004832/0.2532, allocations: 3.715 MB / 0.7925 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.2532, allocations: 0 / 0.7925 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2533, allocations: 0 / 0.7925 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.2538, allocations: 91.55 kB / 0.7926 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.2542, allocations: 95.75 kB / 0.7927 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.649e-05/0.2543, allocations: 23.92 kB / 0.7927 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.2543, allocations: 7.875 kB / 0.7927 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2544, allocations: 27.86 kB / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2545, allocations: 39.95 kB / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2546, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.2552, allocations: 295.6 kB / 0.7931 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2552, allocations: 3.984 kB / 0.7931 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.2552, allocations: 33.64 kB / 0.7931 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2555, allocations: 124 kB / 0.7932 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2555, allocations: 0 / 0.7932 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2555, allocations: 0 / 0.7932 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2555, allocations: 0 / 0.7932 GB, free: 6.066 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.0004381/0.2559, allocations: 351.4 kB / 0.7936 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.256, allocations: 16.03 kB / 0.7936 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.256, allocations: 0.9375 kB / 0.7936 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2562, allocations: 184.3 kB / 0.7937 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2562, allocations: 384 / 0.7937 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2562, allocations: 384 / 0.7937 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.2563, allocations: 33.83 kB / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2563, allocations: 0 / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2563, allocations: 0 / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2563, allocations: 0 / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.2564, allocations: 11.92 kB / 0.7938 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.2565, allocations: 157.6 kB / 0.7939 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.2566, allocations: 34.53 kB / 0.794 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.2566, allocations: 8.859 kB / 0.794 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.2569, allocations: 97.16 kB / 0.7941 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2569, allocations: 38.5 kB / 0.7941 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2569, allocations: 0 / 0.7941 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.2571, allocations: 49.62 kB / 0.7942 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2571, allocations: 51.41 kB / 0.7942 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.2572, allocations: 97.86 kB / 0.7943 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2572, allocations: 25.7 kB / 0.7943 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2573, allocations: 88.12 kB / 0.7944 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2573, allocations: 3.906 kB / 0.7944 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.2573, allocations: 17.84 kB / 0.7944 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2575, allocations: 310.8 kB / 0.7947 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.2575, allocations: 4 kB / 0.7947 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.2575, allocations: 0 / 0.7947 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.2575, allocations: 16.86 kB / 0.7947 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2575, allocations: 0 / 0.7947 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.021e-05/0.2576, allocations: 45.56 kB / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2576, allocations: 8 kB / 0.7948 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2576, allocations: 8.031 kB / 0.7948 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2577, allocations: 0 / 0.7948 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.2577, allocations: 4 kB / 0.7948 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2577, allocations: 0 / 0.7948 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.2577, allocations: 0 / 0.7948 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2578, allocations: 0 / 0.7948 GB, free: 4.195 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 7.335e-05/0.2578, allocations: 109.8 kB / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.2579, allocations: 11.92 kB / 0.7949 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.258, allocations: 44.83 kB / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.258, allocations: 4 kB / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.258, allocations: 3.984 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.258, allocations: 0 / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2581, allocations: 153.6 kB / 0.7951 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2581, allocations: 0 / 0.7951 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.2582, allocations: 15.86 kB / 0.7951 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2582, allocations: 0 / 0.7951 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.2582, allocations: 0 / 0.7951 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2582, allocations: 256 / 0.7951 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2582, allocations: 4.031 kB / 0.7951 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.251e-05/0.2583, allocations: 69.03 kB / 0.7952 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.2583, allocations: 88.98 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2583, allocations: 0 / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.2584, allocations: 4 kB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.2584, allocations: 0 / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2584, allocations: 0 / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.2584, allocations: 91.3 kB / 0.7954 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 0 / 0.7954 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002122/0.2587, allocations: 20 kB / 0.7954 GB, free: 3.484 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.0001861/0.2588, allocations: 127.2 kB / 0.7955 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.529e-05/0.2589, allocations: 11.98 kB / 0.7955 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2589, allocations: 0 / 0.7955 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.2589, allocations: 8 kB / 0.7955 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.2591, allocations: 13.31 kB / 0.7956 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.2594, allocations: 148.5 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2596, allocations: 0.6731 MB / 0.7964 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.2597, allocations: 11.92 kB / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.2597, allocations: 11.44 kB / 0.7964 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/0.2597, allocations: 0 / 0.7964 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.002802/0.2625, allocations: 0.7294 MB / 0.7971 GB, free: 1.711 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: