Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.00101/0.00101, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009233/0.0009233, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9019/0.9019, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.553e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001079/0.001105, allocations: 0.6025 MB / 0.9829 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.00204, allocations: 1.003 MB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.872e-05/0.002059, allocations: 0 / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.002074, allocations: 0 / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.002607, allocations: 99.7 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.407e-05/0.002631, allocations: 7.938 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.002678, allocations: 8 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.002715, allocations: 0 / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.002744, allocations: 4 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.002905, allocations: 35.91 kB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.002917, allocations: 4 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.003046, allocations: 75.89 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.003055, allocations: 0 / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.003071, allocations: 11.92 kB / 0.9841 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.00321, allocations: 83.78 kB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003212, allocations: 0 / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003213, allocations: 0 / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.003216, allocations: 4 kB / 0.9841 GB, free: 64 kB / 0.9323 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.0002568/0.003473, allocations: 266.2 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.003508, allocations: 12.02 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.003538, allocations: 4.938 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.998e-05/0.003618, allocations: 105.8 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.003627, allocations: 384 / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.003635, allocations: 384 / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.145e-05/0.003706, allocations: 30.27 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.003712, allocations: 192 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.003721, allocations: 4.125 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.003725, allocations: 4 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.403e-05/0.003739, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.004026, allocations: 343.1 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.004089, allocations: 177.1 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.004113, allocations: 80.14 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.004131, allocations: 75.28 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.004164, allocations: 113.8 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.004165, allocations: 0 / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.34e-05/0.004218, allocations: 29.64 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.004259, allocations: 130.6 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.004333, allocations: 113.8 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.004341, allocations: 25.7 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.004369, allocations: 80.14 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.004371, allocations: 0 / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.004392, allocations: 13.72 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.004465, allocations: 314.8 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.004473, allocations: 0 / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.004479, allocations: 4 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.0045, allocations: 4.859 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004502, allocations: 0 / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.376e-05/0.004586, allocations: 49.62 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.004597, allocations: 4 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.004602, allocations: 4 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.004612, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.326e-05/0.004625, allocations: 3.938 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00463, allocations: 4 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-06/0.004639, allocations: 0 / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.004644, allocations: 0 / 0.9861 GB, free: 13.93 MB / 0.948 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 5.995e-05/0.004704, allocations: 181.1 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.004743, allocations: 120.9 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.004773, allocations: 112.2 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/0.004811, allocations: 176.3 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002991/0.00511, allocations: 184.2 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-05/0.005146, allocations: 176.3 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.005268, allocations: 360.8 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/0.005291, allocations: 101 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.005312, allocations: 101 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.002e-05/0.005352, allocations: 184.2 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.005392, allocations: 184.2 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.723e-05/0.005429, allocations: 180.2 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.487e-05/0.005474, allocations: 192.3 kB / 0.9882 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.005557, allocations: 300 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.005586, allocations: 109 kB / 0.9886 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.005635, allocations: 188.1 kB / 0.9888 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.005682, allocations: 105 kB / 0.9889 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.005724, allocations: 180.3 kB / 0.989 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.005748, allocations: 104.9 kB / 0.9891 GB, free: 10.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.005776, allocations: 83.27 kB / 0.9892 GB, free: 10.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005776, allocations: 0 / 0.9892 GB, free: 10.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001737/0.00595, allocations: 23.88 kB / 0.9893 GB, free: 10.47 MB / 0.948 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.0002592/0.006209, allocations: 238.2 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.116e-05/0.00626, allocations: 0 / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006261, allocations: 0 / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.006263, allocations: 3.938 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.006497, allocations: 455.7 kB / 0.9899 GB, free: 9.789 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.0068, allocations: 233.8 kB / 0.9901 GB, free: 9.527 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.006835, allocations: 59.28 kB / 0.9902 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.006859, allocations: 12.5 kB / 0.9902 GB, free: 9.438 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/0.006859, allocations: 0 / 0.9902 GB, free: 9.438 MB / 0.948 GB Notification: Performance of Templates: time 0.001689/0.008548, allocations: 0.8881 MB / 0.9911 GB, free: 8.559 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.908050159923732] Failed to read output from testmodel.py, exit status != 0: 0.012915924191474915 0.020748757 0.015999238000000002 Calling exit ...