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.006536/0.006536, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001395/0.001395, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 286 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 95.86 kB / 0.681 GB, free: 7.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4033, allocations: 86.98 MB / 0.766 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001698/0.405, allocations: 0.5632 MB / 0.7665 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4062, allocations: 0.9954 MB / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.4063, allocations: 0 / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.4063, allocations: 3.938 kB / 0.7675 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.407, allocations: 111.8 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.492e-05/0.4071, allocations: 4 kB / 0.7676 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.58e-05/0.4071, allocations: 11.88 kB / 0.7676 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.4072, allocations: 7.984 kB / 0.7676 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.4072, allocations: 0 / 0.7676 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.4074, allocations: 33.84 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.4074, allocations: 3.938 kB / 0.7676 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.4076, allocations: 79.91 kB / 0.7677 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.555e-06/0.4076, allocations: 4 kB / 0.7677 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.4077, allocations: 7.938 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.4078, allocations: 67.92 kB / 0.7678 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4078, allocations: 0 / 0.7678 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4078, allocations: 0 / 0.7678 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4078, allocations: 0 / 0.7678 GB, free: 1.953 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.0002866/0.4081, allocations: 331.6 kB / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4082, allocations: 12.02 kB / 0.7681 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.4082, allocations: 34.75 kB / 0.7682 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.4082, allocations: 0.9375 kB / 0.7682 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.4084, allocations: 168.2 kB / 0.7683 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4084, allocations: 8.312 kB / 0.7683 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.4084, allocations: 384 / 0.7683 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.92e-05/0.4085, allocations: 37.64 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4085, allocations: 0 / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.4085, allocations: 0 / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.4085, allocations: 3.938 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.4085, allocations: 7.984 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.4089, allocations: 468.6 kB / 0.7688 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.409, allocations: 179 kB / 0.769 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.409, allocations: 80.14 kB / 0.7691 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.409, allocations: 75.28 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.4091, allocations: 105.8 kB / 0.7692 GB, free: 288 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4091, allocations: 4 kB / 0.7692 GB, free: 284 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.483e-05/0.4091, allocations: 29.7 kB / 0.7693 GB, free: 248 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4092, allocations: 130.6 kB / 0.7694 GB, free: 104 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.4093, allocations: 101.8 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.4093, allocations: 25.7 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.4094, allocations: 84.14 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.4094, allocations: 3.984 kB / 0.7696 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.4094, allocations: 13.72 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4095, allocations: 322.8 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.4095, allocations: 0 / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.4095, allocations: 4 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.4096, allocations: 4.859 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4096, allocations: 0 / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.873e-05/0.4097, allocations: 37.7 kB / 0.77 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4097, allocations: 7.938 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4097, allocations: 96 / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4097, allocations: 8 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.494e-05/0.4097, allocations: 3.938 kB / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4097, allocations: 0 / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.4098, allocations: 7.984 kB / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.4098, allocations: 0 / 0.77 GB, free: 15.45 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.419e-05/0.4099, allocations: 187.5 kB / 0.7702 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.4099, allocations: 104.9 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.41, allocations: 116 kB / 0.7704 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/0.41, allocations: 176.3 kB / 0.7706 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/0.4101, allocations: 184.2 kB / 0.7707 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.094e-05/0.4101, allocations: 180.2 kB / 0.7709 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.4103, allocations: 401.2 kB / 0.7713 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.4104, allocations: 108.9 kB / 0.7714 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.4104, allocations: 112.9 kB / 0.7715 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.946e-05/0.4105, allocations: 180.3 kB / 0.7717 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.4105, allocations: 180.2 kB / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-05/0.4106, allocations: 176.3 kB / 0.772 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.455e-05/0.4107, allocations: 188.2 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.4108, allocations: 312 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.4108, allocations: 186 kB / 0.7727 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.4109, allocations: 180.2 kB / 0.7728 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.411, allocations: 104.9 kB / 0.7729 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.4111, allocations: 184.3 kB / 0.7731 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.4111, allocations: 105 kB / 0.7732 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.4112, allocations: 83.22 kB / 0.7733 GB, free: 11.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4112, allocations: 0 / 0.7733 GB, free: 11.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002495/0.4114, allocations: 19.98 kB / 0.7733 GB, free: 11.83 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.0005652/0.412, allocations: 0.8559 MB / 0.7741 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.15e-05/0.4121, allocations: 4 kB / 0.7741 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4121, allocations: 4 kB / 0.7741 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.4121, allocations: 7.875 kB / 0.7742 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4124, allocations: 455.8 kB / 0.7746 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.4129, allocations: 239.8 kB / 0.7748 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.4131, allocations: 0.6729 MB / 0.7755 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.4131, allocations: 0 / 0.7755 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.4132, allocations: 15.42 kB / 0.7755 GB, free: 9.5 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.4132, allocations: 0 / 0.7755 GB, free: 9.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.4316, allocations: 1.589 MB / 0.777 GB, free: 8.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.77, allocations: 17.03 kB / 0.7771 GB, free: 8.129 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)