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.0008735/0.0008735, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005086/0.005086, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 271 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8592/0.8592, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 15.58 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 88.55 MB / 0.6853 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005988/0.1344, allocations: 284.6 kB / 0.6856 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1355, allocations: 1.009 MB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.009e-05/0.1355, allocations: 0 / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.786e-06/0.1355, allocations: 0 / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.136, allocations: 84.98 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.853e-05/0.1361, allocations: 15.94 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.66e-05/0.1361, allocations: 4 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.1361, allocations: 1.906 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.301e-05/0.1362, allocations: 0 / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1364, allocations: 52.05 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.1364, allocations: 0 / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1365, allocations: 83.91 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.1365, allocations: 2.531 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1366, allocations: 29.7 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1367, allocations: 67.91 kB / 0.6869 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1367, allocations: 11.94 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1367, allocations: 0 / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.1367, allocations: 7.875 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB 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.0002471/0.137, allocations: 324.1 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.137, allocations: 13.12 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.137, allocations: 34.73 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.435e-05/0.1371, allocations: 2.5 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.1372, allocations: 160.4 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.1372, allocations: 4.375 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-06/0.1372, allocations: 384 / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.909e-05/0.1372, allocations: 34.39 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.1373, allocations: 2.688 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.1373, allocations: 0 / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1373, allocations: 0 / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1373, allocations: 7.984 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.1376, allocations: 468.5 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.1377, allocations: 167 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.1377, allocations: 80.66 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1377, allocations: 77 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.1378, allocations: 109.8 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1378, allocations: 0.5938 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.332e-05/0.1378, allocations: 38.27 kB / 0.6883 GB, free: 11.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1379, allocations: 127.6 kB / 0.6885 GB, free: 11.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.1379, allocations: 97.84 kB / 0.6886 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.138, allocations: 26.33 kB / 0.6886 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.138, allocations: 85.55 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.138, allocations: 0 / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.138, allocations: 13.72 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.1381, allocations: 315.4 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.1381, allocations: 0 / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.1381, allocations: 7.984 kB / 0.689 GB, free: 10.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.1382, allocations: 8.859 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1382, allocations: 3.938 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.291e-05/0.1382, allocations: 37.64 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1383, allocations: 8 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1383, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.1383, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-06/0.1383, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.1383, allocations: 4.094 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.1383, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.1383, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB 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 6.264e-05/0.1384, allocations: 193.7 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1385, allocations: 104.9 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1385, allocations: 104.1 kB / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-05/0.1385, allocations: 188.3 kB / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-05/0.1386, allocations: 188.2 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-05/0.1386, allocations: 180.4 kB / 0.69 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1388, allocations: 405.1 kB / 0.6903 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.1389, allocations: 105 kB / 0.6904 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.1389, allocations: 109 kB / 0.6905 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.392e-05/0.139, allocations: 184.2 kB / 0.6907 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.139, allocations: 180.3 kB / 0.6909 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.814e-05/0.1391, allocations: 184.2 kB / 0.6911 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/0.1391, allocations: 176.3 kB / 0.6912 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.1393, allocations: 315.7 kB / 0.6915 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.1393, allocations: 182.1 kB / 0.6917 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.1394, allocations: 188.2 kB / 0.6919 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.1395, allocations: 105 kB / 0.692 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1395, allocations: 176.3 kB / 0.6922 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.1395, allocations: 108.9 kB / 0.6923 GB, free: 7.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.1396, allocations: 83.28 kB / 0.6923 GB, free: 7.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1396, allocations: 0 / 0.6923 GB, free: 7.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1398, allocations: 23.92 kB / 0.6924 GB, free: 7.207 MB / 494.1 MB 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.0004778/0.1403, allocations: 0.8681 MB / 0.6932 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.963e-05/0.1404, allocations: 11.88 kB / 0.6932 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1404, allocations: 0 / 0.6932 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1404, allocations: 4 kB / 0.6932 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1407, allocations: 0.5186 MB / 0.6937 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.1411, allocations: 235 kB / 0.694 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.1413, allocations: 0.6731 MB / 0.6946 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.895e-05/0.1413, allocations: 0 / 0.6946 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1413, allocations: 15.42 kB / 0.6946 GB, free: 4.793 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1413, allocations: 3.938 kB / 0.6946 GB, free: 4.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/0.3173, allocations: 1.353 MB / 0.696 GB, free: 3.68 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.3177, allocations: 332.4 kB / 0.6963 GB, free: 3.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.157, allocations: 0 / 0.6963 GB, free: 3.305 MB / 494.1 MB (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)