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.001691/0.001691, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002025/0.002025, allocations: 161 kB / 23.01 MB, free: 4.602 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.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.002466/0.002466, allocations: 230.1 kB / 260 MB, free: 460 kB / 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 0.9291/0.9291, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [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.003278/0.003278, allocations: 99.84 kB / 0.6474 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3914, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001626/0.393, allocations: 0.5824 MB / 0.7411 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3941, allocations: 1.014 MB / 0.7421 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.3941, allocations: 0 / 0.7421 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3941, allocations: 0 / 0.7421 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.3948, allocations: 94.67 kB / 0.7422 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.725e-05/0.3948, allocations: 14.66 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.3949, allocations: 3.625 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.3949, allocations: 5.984 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.3949, allocations: 5.422 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3951, allocations: 34.5 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3951, allocations: 5.031 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3953, allocations: 70.42 kB / 0.7423 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.3953, allocations: 5.422 kB / 0.7423 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.3953, allocations: 1.375 kB / 0.7423 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3955, allocations: 79.78 kB / 0.7424 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3955, allocations: 1.156 kB / 0.7424 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3955, allocations: 0 / 0.7424 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.3955, allocations: 0 / 0.7424 GB, free: 16.22 MB / 0.5919 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.0002236/0.3957, allocations: 254.1 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3957, allocations: 9.188 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.3958, allocations: 6.922 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.509e-05/0.3958, allocations: 114.6 kB / 0.7427 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3959, allocations: 384 / 0.7427 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.3959, allocations: 1.531 kB / 0.7427 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.203e-05/0.3959, allocations: 33.3 kB / 0.7428 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3959, allocations: 0 / 0.7428 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.3959, allocations: 0 / 0.7428 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3959, allocations: 1.469 kB / 0.7428 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.396, allocations: 1.906 kB / 0.7428 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.3962, allocations: 339.7 kB / 0.7431 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.3962, allocations: 175.5 kB / 0.7433 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.3962, allocations: 88.14 kB / 0.7434 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.3962, allocations: 80.7 kB / 0.7434 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.3963, allocations: 108 kB / 0.7435 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3963, allocations: 3.938 kB / 0.7435 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 5.914e-05/0.3963, allocations: 34.81 kB / 0.7436 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3963, allocations: 129 kB / 0.7437 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.3964, allocations: 101.5 kB / 0.7438 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-06/0.3964, allocations: 25.7 kB / 0.7438 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.3964, allocations: 85.42 kB / 0.7439 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.3964, allocations: 0 / 0.7439 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.3965, allocations: 14.47 kB / 0.7439 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.3965, allocations: 315.5 kB / 0.7442 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.3965, allocations: 1.375 kB / 0.7442 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.3965, allocations: 7.453 kB / 0.7442 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.3965, allocations: 6.266 kB / 0.7442 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3965, allocations: 3.938 kB / 0.7442 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.216e-05/0.3966, allocations: 36.97 kB / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3966, allocations: 5.688 kB / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.3966, allocations: 0 / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3967, allocations: 1.703 kB / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-05/0.3967, allocations: 4 kB / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.3967, allocations: 1.125 kB / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.3967, allocations: 0.6562 kB / 0.7443 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.3967, allocations: 1.531 kB / 0.7443 GB, free: 14.2 MB / 0.5919 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 4.245e-05/0.3967, allocations: 187.4 kB / 0.7445 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3968, allocations: 110.7 kB / 0.7446 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.3968, allocations: 110.8 kB / 0.7447 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.3968, allocations: 178.5 kB / 0.7448 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/0.3968, allocations: 181.7 kB / 0.745 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.3969, allocations: 178.4 kB / 0.7452 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.397, allocations: 366.4 kB / 0.7455 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.397, allocations: 107.2 kB / 0.7456 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.397, allocations: 102.8 kB / 0.7457 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.397, allocations: 182.2 kB / 0.7459 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.397, allocations: 178 kB / 0.7461 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.046e-05/0.3971, allocations: 182 kB / 0.7462 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/0.3971, allocations: 187.3 kB / 0.7464 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.18e-05/0.3971, allocations: 310.1 kB / 0.7467 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.3972, allocations: 107.9 kB / 0.7468 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3972, allocations: 190.6 kB / 0.747 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.3972, allocations: 106.6 kB / 0.7471 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.3973, allocations: 183.3 kB / 0.7473 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3973, allocations: 106.7 kB / 0.7474 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.3973, allocations: 80.72 kB / 0.7475 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3973, allocations: 0 / 0.7475 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002589/0.3976, allocations: 25.03 kB / 0.7475 GB, free: 10.79 MB / 0.5919 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.0002962/0.3979, allocations: 223.1 kB / 0.7477 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.289e-05/0.3979, allocations: 4.406 kB / 0.7477 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3979, allocations: 0 / 0.7477 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.3979, allocations: 3.938 kB / 0.7477 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3982, allocations: 468 kB / 0.7482 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.3985, allocations: 194.5 kB / 0.7483 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.3985, allocations: 56.62 kB / 0.7484 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.3985, allocations: 9.281 kB / 0.7484 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.3985, allocations: 10.62 kB / 0.7484 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.3985, allocations: 1.312 kB / 0.7484 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of Templates: time 0.003066/0.4016, allocations: 0.6942 MB / 0.7491 GB, free: 9.793 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.757039212970994] Failed to read output from testmodel.py, exit status != 0: 0.40893007500562817 0.419532374 0.021578765 Calling exit ...