Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 173.5 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 12 kB / 495.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 77.53 MB / 0.5594 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005693/0.1478, allocations: 290.2 kB / 0.5596 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.149, allocations: 0.9863 MB / 0.5606 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.109e-05/0.149, allocations: 0 / 0.5606 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.173e-06/0.149, allocations: 0 / 0.5606 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.1496, allocations: 75.84 kB / 0.5607 GB, free: 8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.049e-05/0.1496, allocations: 16 kB / 0.5607 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.818e-05/0.1497, allocations: 4 kB / 0.5607 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.922e-05/0.1497, allocations: 3.984 kB / 0.5607 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.1497, allocations: 7.938 kB / 0.5607 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1499, allocations: 27.97 kB / 0.5607 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1499, allocations: 4 kB / 0.5607 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1501, allocations: 71.92 kB / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.1501, allocations: 0 / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.1501, allocations: 25.7 kB / 0.5608 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.1502, allocations: 47.94 kB / 0.5609 GB, free: 7.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1503, allocations: 4 kB / 0.5609 GB, free: 7.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1503, allocations: 0 / 0.5609 GB, free: 7.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.1503, allocations: 0 / 0.5609 GB, free: 7.785 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002399/0.1505, allocations: 327.6 kB / 0.5612 GB, free: 7.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1505, allocations: 8.031 kB / 0.5612 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.1506, allocations: 0 / 0.5612 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1507, allocations: 175 kB / 0.5614 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1507, allocations: 0 / 0.5614 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.1507, allocations: 0 / 0.5614 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.092e-05/0.1508, allocations: 37.66 kB / 0.5614 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-06/0.1508, allocations: 0 / 0.5614 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.1508, allocations: 0 / 0.5614 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-06/0.1508, allocations: 0 / 0.5614 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.1508, allocations: 0 / 0.5614 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1512, allocations: 468.5 kB / 0.5618 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.466e-05/0.1512, allocations: 181.1 kB / 0.562 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.1513, allocations: 84.14 kB / 0.5621 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1513, allocations: 75.28 kB / 0.5622 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.1514, allocations: 113.8 kB / 0.5623 GB, free: 6.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1514, allocations: 0 / 0.5623 GB, free: 6.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.255e-05/0.1514, allocations: 29.61 kB / 0.5623 GB, free: 6.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1515, allocations: 134.6 kB / 0.5624 GB, free: 5.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.1516, allocations: 101.8 kB / 0.5625 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.1516, allocations: 25.7 kB / 0.5626 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1516, allocations: 88.08 kB / 0.5626 GB, free: 5.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.1516, allocations: 0 / 0.5626 GB, free: 5.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-06/0.1517, allocations: 0 / 0.5626 GB, free: 5.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.1518, allocations: 310.8 kB / 0.5629 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.1518, allocations: 0 / 0.5629 GB, free: 5.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.1518, allocations: 8 kB / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.353e-05/0.1518, allocations: 0 / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1518, allocations: 0 / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.854e-05/0.1519, allocations: 45.64 kB / 0.563 GB, free: 5.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1519, allocations: 4 kB / 0.563 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1519, allocations: 0 / 0.563 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.1519, allocations: 0 / 0.563 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.152, allocations: 7.938 kB / 0.563 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.152, allocations: 0 / 0.563 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.152, allocations: 96 / 0.563 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.152, allocations: 8 kB / 0.563 GB, free: 5.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.109e-05/0.1521, allocations: 182.7 kB / 0.5632 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1521, allocations: 104.9 kB / 0.5633 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.1522, allocations: 112.1 kB / 0.5634 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.026e-05/0.1523, allocations: 184.2 kB / 0.5636 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/0.1523, allocations: 180.3 kB / 0.5637 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/0.1524, allocations: 180.3 kB / 0.5639 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1526, allocations: 405.2 kB / 0.5643 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/0.1527, allocations: 108.9 kB / 0.5644 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.1527, allocations: 101 kB / 0.5645 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.014e-05/0.1528, allocations: 184.2 kB / 0.5647 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.1528, allocations: 188.1 kB / 0.5649 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.487e-05/0.1529, allocations: 180.2 kB / 0.565 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.76e-05/0.153, allocations: 180.2 kB / 0.5652 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.1531, allocations: 303.8 kB / 0.5655 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.1532, allocations: 194 kB / 0.5657 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.1533, allocations: 184.2 kB / 0.5658 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.1534, allocations: 104.9 kB / 0.5659 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1534, allocations: 180.3 kB / 0.5661 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.1535, allocations: 105 kB / 0.5662 GB, free: 1.852 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.1535, allocations: 79.28 kB / 0.5663 GB, free: 1.773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1535, allocations: 0 / 0.5663 GB, free: 1.773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1538, allocations: 20 kB / 0.5663 GB, free: 1.754 MB / 430.1 MB 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 (0): * Single equations (assignments): 0 * 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.0003278/0.1541, allocations: 237.6 kB / 0.5665 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.981e-05/0.1542, allocations: 4 kB / 0.5665 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1542, allocations: 0 / 0.5665 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.1542, allocations: 4.062 kB / 0.5665 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1546, allocations: 0.5203 MB / 0.5671 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.1549, allocations: 205.8 kB / 0.5673 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1552, allocations: 0.6692 MB / 0.5679 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.671e-05/0.1552, allocations: 15.27 kB / 0.5679 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.1552, allocations: 7.438 kB / 0.5679 GB, free: 40 kB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1552, allocations: 0 / 0.5679 GB, free: 40 kB / 430.1 MB Notification: Performance of Templates: time 0.002617/0.1578, allocations: 0.6499 MB / 0.5686 GB, free: 15.43 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)