Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002768/0.002768, allocations: 358.2 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.864/1.864, allocations: 165.8 MB / 183.1 MB, free: 5.484 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.911/3.911, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001806/0.001806, allocations: 197 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006326, allocations: 12 kB / 0.7429 GB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4607, allocations: 67.45 MB / 0.8088 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007578/0.4615, allocations: 287.3 kB / 0.8091 GB, free: 28.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.4628, allocations: 0.9293 MB / 0.81 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.4628, allocations: 4 kB / 0.81 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.4628, allocations: 0 / 0.81 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008559/0.4637, allocations: 75.84 kB / 0.81 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.661e-05/0.4638, allocations: 11.94 kB / 0.8101 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.713e-05/0.4638, allocations: 0 / 0.8101 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.4639, allocations: 0 / 0.8101 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.4639, allocations: 7.984 kB / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.4642, allocations: 31.97 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.4642, allocations: 3.938 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4644, allocations: 67.92 kB / 0.8102 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-06/0.4644, allocations: 3.938 kB / 0.8102 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.4644, allocations: 25.7 kB / 0.8102 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.4645, allocations: 47.95 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4645, allocations: 0 / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4646, allocations: 0 / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.4646, allocations: 0 / 0.8102 GB, free: 27.27 MB / 378.7 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.0002549/0.4648, allocations: 329.5 kB / 0.8105 GB, free: 26.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4649, allocations: 8.031 kB / 0.8106 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.4649, allocations: 3.984 kB / 0.8106 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.465, allocations: 163.1 kB / 0.8107 GB, free: 26.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.465, allocations: 3.938 kB / 0.8107 GB, free: 26.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.4651, allocations: 3.984 kB / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.934e-05/0.4651, allocations: 33.66 kB / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4652, allocations: 0 / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.4652, allocations: 3.938 kB / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4652, allocations: 8 kB / 0.8108 GB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.4652, allocations: 3.938 kB / 0.8108 GB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.4656, allocations: 472.5 kB / 0.8112 GB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.4656, allocations: 169.1 kB / 0.8114 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.4657, allocations: 80.14 kB / 0.8115 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.4657, allocations: 79.28 kB / 0.8115 GB, free: 25.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4657, allocations: 113.8 kB / 0.8116 GB, free: 25.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.4657, allocations: 0 / 0.8116 GB, free: 25.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.451e-05/0.4658, allocations: 29.7 kB / 0.8117 GB, free: 25.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.4658, allocations: 51.41 kB / 0.8117 GB, free: 25.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.4659, allocations: 97.84 kB / 0.8118 GB, free: 25.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.4659, allocations: 25.7 kB / 0.8118 GB, free: 25.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.466, allocations: 88.14 kB / 0.8119 GB, free: 25.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.466, allocations: 0 / 0.8119 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.466, allocations: 0 / 0.8119 GB, free: 25.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.466, allocations: 314.8 kB / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.4661, allocations: 0 / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.4661, allocations: 0 / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.4661, allocations: 4 kB / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4661, allocations: 0 / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.68e-05/0.4662, allocations: 45.64 kB / 0.8123 GB, free: 24.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4662, allocations: 6.812 kB / 0.8123 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4663, allocations: 4 kB / 0.8123 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4663, allocations: 0 / 0.8123 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.726e-05/0.4663, allocations: 0 / 0.8123 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4663, allocations: 0 / 0.8123 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.4663, allocations: 3.938 kB / 0.8123 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4664, allocations: 0 / 0.8123 GB, free: 24.93 MB / 378.7 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 6.164e-05/0.4664, allocations: 192.4 kB / 0.8125 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.4665, allocations: 113 kB / 0.8126 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.4665, allocations: 113.2 kB / 0.8127 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/0.4666, allocations: 176.3 kB / 0.8129 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.4666, allocations: 108.9 kB / 0.813 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.4667, allocations: 186.1 kB / 0.8131 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.4667, allocations: 176.3 kB / 0.8133 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.4668, allocations: 116.9 kB / 0.8134 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.4668, allocations: 176.3 kB / 0.8136 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.323e-05/0.4669, allocations: 259.4 kB / 0.8138 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001646/0.4671, allocations: 391.1 kB / 0.8142 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.576e-05/0.4671, allocations: 113 kB / 0.8143 GB, free: 22.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.4672, allocations: 87.27 kB / 0.8144 GB, free: 22.65 MB / 378.7 MB Notification: Performance of Backend: time 7.61e-07/0.4672, allocations: 0 / 0.8144 GB, free: 22.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.4679, allocations: 129.1 kB / 0.8145 GB, free: 22.53 MB / 378.7 MB Notification: Performance of SimCode: time 0.00038/0.4683, allocations: 0.9028 MB / 0.8154 GB, free: 21.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003541/0.4719, allocations: 0.6679 MB / 0.816 GB, free: 20.95 MB / 378.7 MB