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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7385/0.7385, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 171.7 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 426.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008078, allocations: 82.31 kB / 0.4945 GB, free: 8.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001733/0.001733, allocations: 276.7 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 16 kB / 0.6621 GB, free: 6.754 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4946, allocations: 108.8 MB / 0.8457 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.495, allocations: 111.9 kB / 0.8458 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004714/0.4997, allocations: 1.954 MB / 0.8477 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4997, allocations: 0 / 0.8477 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4997, allocations: 0 / 0.8477 GB, free: 15.37 MB / 0.5261 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.0002767/0.5, allocations: 339.5 kB / 0.8481 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5, allocations: 8.031 kB / 0.8481 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.5001, allocations: 4.938 kB / 0.8481 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.5002, allocations: 160.4 kB / 0.8482 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5002, allocations: 4.359 kB / 0.8482 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.5002, allocations: 384 / 0.8482 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.5003, allocations: 34.2 kB / 0.8483 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5003, allocations: 192 / 0.8483 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.5003, allocations: 3.938 kB / 0.8483 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.5003, allocations: 4 kB / 0.8483 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.5004, allocations: 4 kB / 0.8483 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.5007, allocations: 462.8 kB / 0.8487 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.523e-05/0.5008, allocations: 177 kB / 0.8489 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.5009, allocations: 84.08 kB / 0.849 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.5009, allocations: 83.31 kB / 0.849 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.501, allocations: 109.8 kB / 0.8492 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.501, allocations: 0 / 0.8492 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.704e-05/0.501, allocations: 29.61 kB / 0.8492 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5011, allocations: 126.7 kB / 0.8493 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.5012, allocations: 101.9 kB / 0.8494 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5012, allocations: 25.7 kB / 0.8494 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.5013, allocations: 88.12 kB / 0.8495 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.5013, allocations: 0 / 0.8495 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.5013, allocations: 0 / 0.8495 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.5014, allocations: 314.8 kB / 0.8498 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.5014, allocations: 4 kB / 0.8498 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.5014, allocations: 0 / 0.8498 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.5015, allocations: 8.859 kB / 0.8498 GB, free: 13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5015, allocations: 64 / 0.8498 GB, free: 13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.494e-05/0.5016, allocations: 41.64 kB / 0.8499 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5016, allocations: 5.719 kB / 0.8499 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.5016, allocations: 0 / 0.8499 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.5016, allocations: 3.984 kB / 0.8499 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.584e-05/0.5016, allocations: 4 kB / 0.8499 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5016, allocations: 0 / 0.8499 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.5017, allocations: 7.875 kB / 0.8499 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.5017, allocations: 0 / 0.8499 GB, free: 12.93 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/0.5018, allocations: 189.1 kB / 0.8501 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.5018, allocations: 105 kB / 0.8502 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.5019, allocations: 108.1 kB / 0.8503 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-05/0.5019, allocations: 184.2 kB / 0.8504 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/0.502, allocations: 177.2 kB / 0.8506 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/0.5021, allocations: 184.2 kB / 0.8508 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.5023, allocations: 413.1 kB / 0.8512 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/0.5023, allocations: 105 kB / 0.8513 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.5024, allocations: 108.9 kB / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.998e-05/0.5024, allocations: 176.3 kB / 0.8516 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.5025, allocations: 180.2 kB / 0.8517 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.293e-05/0.5026, allocations: 184.2 kB / 0.8519 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.449e-05/0.5026, allocations: 184.3 kB / 0.8521 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.5028, allocations: 303.7 kB / 0.8524 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.5028, allocations: 190 kB / 0.8525 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.5029, allocations: 176.3 kB / 0.8527 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.503, allocations: 109 kB / 0.8528 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.5031, allocations: 180.2 kB / 0.853 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5031, allocations: 104.9 kB / 0.8531 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.5031, allocations: 87.27 kB / 0.8532 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5032, allocations: 0 / 0.8532 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002597/0.5034, allocations: 23.98 kB / 0.8532 GB, free: 9.316 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003317/0.5038, allocations: 242.7 kB / 0.8534 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.991e-05/0.5038, allocations: 3.984 kB / 0.8534 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5038, allocations: 0 / 0.8534 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.5038, allocations: 0 / 0.8534 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.5042, allocations: 0.5361 MB / 0.854 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.5045, allocations: 193.9 kB / 0.8541 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.5047, allocations: 0.6731 MB / 0.8548 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.5047, allocations: 4 kB / 0.8548 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.5048, allocations: 11.44 kB / 0.8548 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.5048, allocations: 0 / 0.8548 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of Templates: time 0.002586/0.5074, allocations: 0.6476 MB / 0.8554 GB, free: 7.008 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)