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.001081/0.001081, allocations: 119 kB / 16.42 MB, free: 6.473 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.001025/0.001025, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.311/1.311, allocations: 222.9 MB / 241.1 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.002122/0.002122, allocations: 292.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9353/0.9353, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 95.84 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3739, allocations: 86.98 MB / 0.7671 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001523/0.3755, allocations: 0.5609 MB / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3767, allocations: 1.007 MB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.3767, allocations: 0 / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.3767, allocations: 0 / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.3774, allocations: 87.78 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.866e-05/0.3775, allocations: 19.91 kB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.3775, allocations: 11.94 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.3776, allocations: 0 / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.3776, allocations: 4 kB / 0.7688 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3778, allocations: 33.36 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.3778, allocations: 4 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.378, allocations: 83.91 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.134e-06/0.378, allocations: 0 / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.378, allocations: 3.938 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3782, allocations: 75.84 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3782, allocations: 0 / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3782, allocations: 0 / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3782, allocations: 0 / 0.7689 GB, free: 1.961 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.0002859/0.3785, allocations: 331.6 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3785, allocations: 12.03 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.3786, allocations: 8.938 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3787, allocations: 168.3 kB / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3787, allocations: 384 / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.3787, allocations: 4.375 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/0.3788, allocations: 29.83 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.3788, allocations: 0 / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.3788, allocations: 0 / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.3788, allocations: 0 / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.3788, allocations: 8 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3792, allocations: 476.4 kB / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.3793, allocations: 171 kB / 0.7701 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.3793, allocations: 80.14 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3793, allocations: 79.27 kB / 0.7703 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.3794, allocations: 109.8 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.3794, allocations: 0 / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.451e-05/0.3795, allocations: 29.64 kB / 0.7704 GB, free: 304 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.3795, allocations: 59.41 kB / 0.7704 GB, free: 232 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.3796, allocations: 93.86 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3796, allocations: 29.69 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.3796, allocations: 80.14 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.3796, allocations: 0 / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3797, allocations: 21.8 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3798, allocations: 314.8 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.3798, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-06/0.3798, allocations: 4 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.3799, allocations: 8.797 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3799, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.221e-05/0.38, allocations: 41.62 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.38, allocations: 4.094 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.38, allocations: 4 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.38, allocations: 0 / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.614e-05/0.38, allocations: 0 / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.38, allocations: 0 / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.3801, allocations: 8 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3801, allocations: 0 / 0.771 GB, free: 15.58 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.233e-05/0.3802, allocations: 190.1 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.3802, allocations: 101 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.3803, allocations: 120 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-05/0.3803, allocations: 176.3 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.3804, allocations: 105.1 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3804, allocations: 186 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.3805, allocations: 188.2 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.3806, allocations: 104.9 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.3807, allocations: 184.2 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.031e-05/0.3807, allocations: 259.5 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001416/0.3809, allocations: 387 kB / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.434e-05/0.3809, allocations: 105.2 kB / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.381, allocations: 87.28 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.381, allocations: 0 / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.3815, allocations: 140.6 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004002/0.3819, allocations: 0.8312 MB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002685/0.3846, allocations: 0.7147 MB / 0.7748 GB, free: 11.64 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)