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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006383/0.006383, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001416/0.001416, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002718/0.002718, allocations: 284.9 kB / 290.8 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 1.018/1.018, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 99.84 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4458, allocations: 86.98 MB / 0.766 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001699/0.4475, allocations: 0.5643 MB / 0.7665 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4489, allocations: 0.9954 MB / 0.7675 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.449, allocations: 0 / 0.7675 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.449, allocations: 0 / 0.7675 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008369/0.4498, allocations: 99.72 kB / 0.7676 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.766e-05/0.4499, allocations: 19.92 kB / 0.7676 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.4499, allocations: 4 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.45, allocations: 0 / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.45, allocations: 4 kB / 0.7676 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.4502, allocations: 35.62 kB / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.4502, allocations: 0 / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.4504, allocations: 83.84 kB / 0.7677 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.4504, allocations: 0 / 0.7677 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.4505, allocations: 7.938 kB / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.4506, allocations: 75.42 kB / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4506, allocations: 0 / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4506, allocations: 0 / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4506, allocations: 0 / 0.7678 GB, free: 1.973 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.0005541/0.4512, allocations: 341.1 kB / 0.7681 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4512, allocations: 8.031 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.4513, allocations: 34.75 kB / 0.7682 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.4513, allocations: 0.9375 kB / 0.7682 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4515, allocations: 164.4 kB / 0.7683 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4515, allocations: 4.375 kB / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.4515, allocations: 384 / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.4516, allocations: 45.5 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4516, allocations: 0 / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.4516, allocations: 0 / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4516, allocations: 0 / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.4516, allocations: 0 / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.4521, allocations: 472.6 kB / 0.7688 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.4522, allocations: 171 kB / 0.769 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.4522, allocations: 84.08 kB / 0.7691 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4523, allocations: 75.28 kB / 0.7691 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.4523, allocations: 113.8 kB / 0.7693 GB, free: 308 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4524, allocations: 4 kB / 0.7693 GB, free: 304 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.676e-05/0.4524, allocations: 25.7 kB / 0.7693 GB, free: 272 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.4525, allocations: 126.7 kB / 0.7694 GB, free: 132 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4526, allocations: 101.8 kB / 0.7695 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4527, allocations: 29.7 kB / 0.7695 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.4527, allocations: 84.09 kB / 0.7696 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4527, allocations: 0 / 0.7696 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.4528, allocations: 13.7 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4529, allocations: 326.8 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.4529, allocations: 0 / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-06/0.4529, allocations: 3.938 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.453, allocations: 8.859 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.453, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.207e-05/0.4531, allocations: 29.7 kB / 0.77 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4531, allocations: 11.98 kB / 0.77 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4531, allocations: 0 / 0.77 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4531, allocations: 4.094 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.529e-05/0.4531, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4532, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.4532, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.4532, allocations: 0 / 0.77 GB, free: 15.48 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 0.0001073/0.4533, allocations: 195.4 kB / 0.7702 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.4534, allocations: 109 kB / 0.7703 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.4534, allocations: 108.1 kB / 0.7704 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.211e-05/0.4535, allocations: 188.2 kB / 0.7706 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.423e-05/0.4536, allocations: 180.2 kB / 0.7707 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/0.4537, allocations: 184.1 kB / 0.7709 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.454, allocations: 409.2 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.481e-05/0.4542, allocations: 101 kB / 0.7714 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.4542, allocations: 108.9 kB / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.4543, allocations: 176.5 kB / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-05/0.4544, allocations: 184.2 kB / 0.7718 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-05/0.4545, allocations: 184.2 kB / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.529e-05/0.4545, allocations: 180.3 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.4547, allocations: 315.9 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.4548, allocations: 190 kB / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.4549, allocations: 180.3 kB / 0.7728 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.455, allocations: 101 kB / 0.7729 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.4551, allocations: 180.2 kB / 0.7731 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.4552, allocations: 105 kB / 0.7732 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.4552, allocations: 87.27 kB / 0.7733 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4552, allocations: 0 / 0.7733 GB, free: 11.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003607/0.4556, allocations: 19.94 kB / 0.7733 GB, free: 11.86 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007228/0.4563, allocations: 0.8592 MB / 0.7742 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.4564, allocations: 7.984 kB / 0.7742 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4564, allocations: 0 / 0.7742 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.4564, allocations: 0 / 0.7742 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.4569, allocations: 459.8 kB / 0.7746 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.4577, allocations: 237.8 kB / 0.7748 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.458, allocations: 0.6768 MB / 0.7755 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.458, allocations: 0 / 0.7755 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.4581, allocations: 7.438 kB / 0.7755 GB, free: 9.527 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.4581, allocations: 4 kB / 0.7755 GB, free: 9.523 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4829, allocations: 1.583 MB / 0.777 GB, free: 8.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.464, allocations: 13.09 kB / 0.7771 GB, free: 8.156 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)