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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 215.1 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002486/0.002486, allocations: 293.5 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.146/1.146, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 105.6 kB / 0.7396 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1567, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001698/0.1584, allocations: 0.5831 MB / 0.8333 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1597, allocations: 1.005 MB / 0.8343 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.1597, allocations: 0 / 0.8343 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.1597, allocations: 4 kB / 0.8343 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.1604, allocations: 95.78 kB / 0.8343 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.642e-05/0.1604, allocations: 11.98 kB / 0.8344 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.04e-05/0.1605, allocations: 7.922 kB / 0.8344 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1605, allocations: 4 kB / 0.8344 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.1605, allocations: 3.938 kB / 0.8344 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1607, allocations: 36.25 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1607, allocations: 0 / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1609, allocations: 71.91 kB / 0.8345 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.1609, allocations: 4 kB / 0.8345 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.1609, allocations: 7.984 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1611, allocations: 79.73 kB / 0.8346 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1611, allocations: 7.938 kB / 0.8346 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1611, allocations: 0 / 0.8346 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1611, allocations: 0 / 0.8346 GB, free: 6.363 MB / 0.5762 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.0003323/0.1614, allocations: 250.3 kB / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1614, allocations: 13.34 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.1615, allocations: 34.75 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.1615, allocations: 4.922 kB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1616, allocations: 110.5 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1616, allocations: 384 / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.1616, allocations: 4.375 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.1617, allocations: 29.64 kB / 0.835 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1617, allocations: 0 / 0.835 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1617, allocations: 4 kB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1617, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.1617, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1621, allocations: 366.5 kB / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1622, allocations: 177.1 kB / 0.8355 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.1622, allocations: 80.14 kB / 0.8356 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1623, allocations: 75.28 kB / 0.8357 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.1623, allocations: 109.8 kB / 0.8358 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1623, allocations: 3.938 kB / 0.8358 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.804e-05/0.1624, allocations: 33.66 kB / 0.8358 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.1625, allocations: 130.6 kB / 0.8359 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.1626, allocations: 101.8 kB / 0.836 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1626, allocations: 25.7 kB / 0.8361 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.1626, allocations: 84.14 kB / 0.8361 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.1626, allocations: 0 / 0.8361 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.1627, allocations: 9.719 kB / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1628, allocations: 322.8 kB / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/0.1628, allocations: 0 / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-06/0.1628, allocations: 4 kB / 0.8365 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.1628, allocations: 8.859 kB / 0.8365 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1628, allocations: 0 / 0.8365 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001114/0.163, allocations: 37.62 kB / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.163, allocations: 10.19 kB / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.163, allocations: 0 / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.163, allocations: 0 / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.524e-05/0.163, allocations: 0 / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.163, allocations: 0 / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.163, allocations: 4.094 kB / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.163, allocations: 4 kB / 0.8365 GB, free: 4.172 MB / 0.5762 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.0001066/0.1631, allocations: 189.1 kB / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.1632, allocations: 108.9 kB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.1633, allocations: 115.9 kB / 0.8369 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.809e-05/0.1634, allocations: 180.3 kB / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.112e-05/0.1634, allocations: 176.3 kB / 0.8373 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.267e-05/0.1635, allocations: 184.2 kB / 0.8374 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1638, allocations: 380.4 kB / 0.8378 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/0.1638, allocations: 104.9 kB / 0.8379 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.1639, allocations: 105 kB / 0.838 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-05/0.1639, allocations: 184.2 kB / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.164, allocations: 188.4 kB / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.999e-05/0.1641, allocations: 180.3 kB / 0.8385 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.387e-05/0.1642, allocations: 180.2 kB / 0.8387 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1644, allocations: 319.6 kB / 0.839 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1644, allocations: 101 kB / 0.8391 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.1645, allocations: 184.2 kB / 0.8393 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.1646, allocations: 104.9 kB / 0.8394 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.1647, allocations: 176.3 kB / 0.8395 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.1647, allocations: 120.9 kB / 0.8397 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.1648, allocations: 87.28 kB / 0.8397 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1648, allocations: 0 / 0.8397 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002601/0.165, allocations: 19.88 kB / 0.8398 GB, free: 0.6523 MB / 0.5762 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.0007565/0.1658, allocations: 0.866 MB / 0.8406 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.1659, allocations: 4 kB / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1659, allocations: 3.938 kB / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.1659, allocations: 0 / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1663, allocations: 466.9 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.1668, allocations: 237.8 kB / 0.8413 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.1669, allocations: 51.36 kB / 0.8413 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.1669, allocations: 4 kB / 0.8413 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1669, allocations: 7.438 kB / 0.8413 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1669, allocations: 4.062 kB / 0.8413 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.1953, allocations: 2.053 MB / 0.8433 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.73, allocations: 9.859 kB / 0.8434 GB, free: 13.07 MB / 0.5919 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.577998495195061] Failed to read output from testmodel.py, exit status != 0: 10.833111857064068 10.848586785 10.68463203 Calling exit ...