Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4442/0.4442, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 348.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007783/0.0007783, allocations: 93.36 kB / 420.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 15.98 kB / 0.4901 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 71.02 MB / 0.5595 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4242, allocations: 119.6 MB / 0.6763 GB, free: 5.785 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4246, allocations: 123.6 kB / 0.6765 GB, free: 5.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3019/0.7264, allocations: 30.15 MB / 0.7059 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7265, allocations: 0 / 0.7059 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.39e-05/0.7265, allocations: 14.31 kB / 0.7059 GB, free: 120.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002823/0.7294, allocations: 1.198 MB / 0.7071 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7294, allocations: 12.52 kB / 0.7071 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.7299, allocations: 100.7 kB / 0.7072 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.7308, allocations: 475.3 kB / 0.7076 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.7308, allocations: 26.42 kB / 0.7077 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.7309, allocations: 35.06 kB / 0.7077 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.7313, allocations: 394 kB / 0.7081 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7314, allocations: 2.906 kB / 0.7081 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.7314, allocations: 3.938 kB / 0.7081 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7314, allocations: 5.484 kB / 0.7081 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.7318, allocations: 431 kB / 0.7085 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.7327, allocations: 0.7712 MB / 0.7093 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.7331, allocations: 0.5641 MB / 0.7098 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.7333, allocations: 336.8 kB / 0.7101 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.7341, allocations: 1.035 MB / 0.7111 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.7344, allocations: 401.1 kB / 0.7115 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.7344, allocations: 3.938 kB / 0.7115 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001011/0.7354, allocations: 1.312 MB / 0.7128 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.7355, allocations: 80.95 kB / 0.7129 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7366, allocations: 1.27 MB / 0.7141 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.7366, allocations: 45.02 kB / 0.7142 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.7369, allocations: 298.2 kB / 0.7145 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.7369, allocations: 25.7 kB / 0.7145 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.737, allocations: 13.88 kB / 0.7145 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7371, allocations: 422.1 kB / 0.7149 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009989/0.7381, allocations: 1.214 MB / 0.7161 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.7391, allocations: 1.367 MB / 0.7174 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.7435, allocations: 2.754 MB / 0.7201 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7435, allocations: 3.188 kB / 0.7201 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003237/0.7467, allocations: 3.453 MB / 0.7235 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7468, allocations: 7.938 kB / 0.7235 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.7468, allocations: 7.969 kB / 0.7235 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7468, allocations: 4 kB / 0.7235 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.7474, allocations: 143.5 kB / 0.7236 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.7474, allocations: 4 kB / 0.7236 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.7479, allocations: 248.1 kB / 0.7239 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.748, allocations: 59.89 kB / 0.7239 GB, free: 112.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002445/0.7482, allocations: 267.4 kB / 0.7242 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.7483, allocations: 78.34 kB / 0.7243 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.749, allocations: 0.942 MB / 0.7252 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.749, allocations: 4 kB / 0.7252 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7491, allocations: 0 / 0.7252 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7491, allocations: 3.5 kB / 0.7252 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.7494, allocations: 0.514 MB / 0.7257 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7494, allocations: 0 / 0.7257 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.7495, allocations: 7.844 kB / 0.7257 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7495, allocations: 3.938 kB / 0.7257 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7495, allocations: 4 kB / 0.7257 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7495, allocations: 0 / 0.7257 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7495, allocations: 2.531 kB / 0.7257 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.7501, allocations: 1.007 MB / 0.7267 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.7502, allocations: 159.8 kB / 0.7268 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.7503, allocations: 3.938 kB / 0.7268 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.7504, allocations: 10.89 kB / 0.7269 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.7505, allocations: 6.812 kB / 0.7269 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.7505, allocations: 14.66 kB / 0.7269 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005797/0.7511, allocations: 0.7081 MB / 0.7276 GB, free: 109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7511, allocations: 3.938 kB / 0.7276 GB, free: 109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001269/0.7524, allocations: 0.4968 MB / 0.7281 GB, free: 108.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001717/0.7541, allocations: 0.6405 MB / 0.7287 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.7557, allocations: 2.368 MB / 0.731 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7557, allocations: 3.938 kB / 0.731 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.7559, allocations: 339.6 kB / 0.7313 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.7563, allocations: 56.3 kB / 0.7314 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.7581, allocations: 1.981 MB / 0.7333 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.7584, allocations: 0.9881 MB / 0.7343 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.7586, allocations: 57.08 kB / 0.7343 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.7587, allocations: 42.61 kB / 0.7344 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.7587, allocations: 3.656 kB / 0.7344 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.01643/0.7751, allocations: 11.19 MB / 0.7453 GB, free: 92.15 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)