Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001187/0.001187, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.00117/0.00117, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 285.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 95.84 kB / 0.6822 GB, free: 6.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3798, allocations: 86.98 MB / 0.7671 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001592/0.3814, allocations: 0.566 MB / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3826, allocations: 0.9993 MB / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.3826, allocations: 0 / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.3827, allocations: 0 / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.3834, allocations: 87.78 kB / 0.7687 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.072e-05/0.3834, allocations: 19.92 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.3835, allocations: 7.938 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.3835, allocations: 0 / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.3835, allocations: 7.984 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3837, allocations: 39.23 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.3837, allocations: 0 / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3839, allocations: 79.92 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.3839, allocations: 3.984 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.384, allocations: 7.938 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.3841, allocations: 67.91 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3841, allocations: 0 / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3841, allocations: 3.938 kB / 0.7689 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3841, allocations: 0 / 0.7689 GB, free: 1.949 MB / 0.5294 GB 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.0003054/0.3845, allocations: 339.5 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3845, allocations: 12.03 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.3845, allocations: 0.9375 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3846, allocations: 168.3 kB / 0.7694 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.3847, allocations: 4.375 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.3847, allocations: 384 / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.3847, allocations: 33.83 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3848, allocations: 0 / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.3848, allocations: 0 / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3848, allocations: 0 / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.3848, allocations: 4 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3852, allocations: 480.5 kB / 0.7699 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.3853, allocations: 167 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3853, allocations: 80.14 kB / 0.7702 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3853, allocations: 75.28 kB / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.3854, allocations: 113.8 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3854, allocations: 0 / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.775e-05/0.3855, allocations: 37.64 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.3855, allocations: 51.41 kB / 0.7704 GB, free: 220 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.3856, allocations: 93.86 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3856, allocations: 25.7 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.3857, allocations: 88.12 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.3857, allocations: 4 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.3857, allocations: 13.72 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.3858, allocations: 310.8 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.3858, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.3858, allocations: 8 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.3859, allocations: 8.797 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3859, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.8e-05/0.386, allocations: 49.69 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.386, allocations: 4 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.386, allocations: 0 / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.386, allocations: 0 / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.386, allocations: 4 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3861, allocations: 0 / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.3861, allocations: 0 / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.3861, allocations: 0 / 0.771 GB, free: 15.57 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/0.3862, allocations: 190.1 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.3862, allocations: 109 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.3863, allocations: 112 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.3863, allocations: 176.3 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/0.3864, allocations: 108.9 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.3865, allocations: 189.9 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.3865, allocations: 176.3 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.3866, allocations: 112.9 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.3867, allocations: 180.4 kB / 0.7723 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.131e-05/0.3868, allocations: 263.5 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001424/0.3869, allocations: 387 kB / 0.7729 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.149e-05/0.387, allocations: 109.2 kB / 0.773 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.387, allocations: 83.28 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of Backend: time 3.7e-07/0.387, allocations: 0 / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005178/0.3875, allocations: 130.9 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004221/0.388, allocations: 0.8312 MB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002722/0.3907, allocations: 0.7258 MB / 0.7748 GB, free: 11.62 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)