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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0012/0.0012, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 298.1 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 101.2 kB / 0.5948 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.138, allocations: 86.98 MB / 0.6798 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00191/0.14, allocations: 0.618 MB / 0.6804 GB, free: 296 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1412, allocations: 0.9992 MB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.1412, allocations: 0 / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.1413, allocations: 4.969 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006599/0.1419, allocations: 87.84 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.338e-05/0.142, allocations: 8 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.434e-05/0.142, allocations: 4.719 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.1421, allocations: 4.859 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.1421, allocations: 7.984 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1423, allocations: 36.77 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.1423, allocations: 3.984 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1425, allocations: 89.77 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-06/0.1425, allocations: 3.984 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.1425, allocations: 4 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1426, allocations: 71.91 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1426, allocations: 0 / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1427, allocations: 7.938 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1427, allocations: 4 kB / 0.6817 GB, free: 14.95 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.000263/0.1429, allocations: 327.6 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.143, allocations: 8.031 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.143, allocations: 30.75 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.954e-05/0.143, allocations: 0.9375 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.1431, allocations: 168.4 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.1431, allocations: 384 / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.1431, allocations: 384 / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.761e-05/0.1432, allocations: 41.62 kB / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1432, allocations: 0 / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1432, allocations: 0 / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1433, allocations: 7.922 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.1433, allocations: 0 / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1436, allocations: 465.1 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.1437, allocations: 169.1 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.1437, allocations: 80.14 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1437, allocations: 79.28 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1438, allocations: 113.8 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1438, allocations: 0 / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.954e-05/0.1438, allocations: 33.59 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1439, allocations: 130.7 kB / 0.6833 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.144, allocations: 105.8 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.144, allocations: 25.7 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.144, allocations: 80.14 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.144, allocations: 0 / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1441, allocations: 17.7 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.1441, allocations: 314.8 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.1442, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.1442, allocations: 4 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.1442, allocations: 16.8 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1442, allocations: 0 / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.917e-05/0.1443, allocations: 33.64 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1443, allocations: 8 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1443, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1443, allocations: 3.984 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.249e-05/0.1443, allocations: 0 / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.1444, allocations: 96 / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.1444, allocations: 4 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1444, allocations: 0 / 0.6838 GB, free: 12.47 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 7.326e-05/0.1445, allocations: 189.7 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1445, allocations: 104.9 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.1446, allocations: 112.2 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/0.1446, allocations: 188.2 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/0.1447, allocations: 180.3 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/0.1447, allocations: 176.3 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1449, allocations: 413.1 kB / 0.6851 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/0.1449, allocations: 101 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.145, allocations: 104.9 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.982e-05/0.145, allocations: 180.3 kB / 0.6855 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.1451, allocations: 184.3 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.071e-05/0.1451, allocations: 188.2 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.761e-05/0.1452, allocations: 176.3 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1453, allocations: 311.7 kB / 0.6863 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1454, allocations: 182.1 kB / 0.6865 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.1454, allocations: 188.2 kB / 0.6867 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.1455, allocations: 101 kB / 0.6868 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1456, allocations: 180.2 kB / 0.687 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.1456, allocations: 101 kB / 0.6871 GB, free: 8.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.1456, allocations: 87.27 kB / 0.6871 GB, free: 8.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1456, allocations: 0 / 0.6871 GB, free: 8.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1459, allocations: 23.94 kB / 0.6872 GB, free: 8.848 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.0005453/0.1464, allocations: 0.8902 MB / 0.688 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.947e-05/0.1465, allocations: 0 / 0.688 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1465, allocations: 3.938 kB / 0.688 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.1465, allocations: 0 / 0.688 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1468, allocations: 459.7 kB / 0.6885 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.1473, allocations: 232.9 kB / 0.6887 GB, free: 7.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1475, allocations: 0.6768 MB / 0.6894 GB, free: 6.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.271e-05/0.1475, allocations: 0 / 0.6894 GB, free: 6.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.1476, allocations: 7.438 kB / 0.6894 GB, free: 6.508 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1476, allocations: 0 / 0.6894 GB, free: 6.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.134/1.282, allocations: 1.468 MB / 0.6908 GB, free: 5.285 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/1.282, allocations: 337.1 kB / 0.6911 GB, free: 4.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/3.075, allocations: 0 / 0.6911 GB, free: 4.906 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)