Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.08 kB / 16.67 MB, free: 5.742 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.001133/0.001133, allocations: 182 kB / 17.58 MB, free: 5.477 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.419/1.419, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7151/0.7151, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 8 kB / 496.6 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4283, allocations: 77.52 MB / 0.5606 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007357/0.4291, allocations: 292.5 kB / 0.5609 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4303, allocations: 1.003 MB / 0.5619 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.4303, allocations: 2.125 kB / 0.5619 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.4304, allocations: 0 / 0.5619 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.431, allocations: 84.22 kB / 0.562 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.963e-05/0.4311, allocations: 11.45 kB / 0.562 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.082e-05/0.4311, allocations: 7.859 kB / 0.562 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.4312, allocations: 1.953 kB / 0.562 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.4312, allocations: 7.219 kB / 0.562 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.4315, allocations: 31.59 kB / 0.562 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.4315, allocations: 0 / 0.562 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.4317, allocations: 86.08 kB / 0.5621 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.4317, allocations: 0.9688 kB / 0.5621 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.4317, allocations: 27.45 kB / 0.5621 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.4319, allocations: 61.78 kB / 0.5622 GB, free: 35.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4319, allocations: 0 / 0.5622 GB, free: 35.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4319, allocations: 3 kB / 0.5622 GB, free: 35.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.4319, allocations: 5.312 kB / 0.5622 GB, free: 35.28 MB / 446.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.0002499/0.4321, allocations: 331.3 kB / 0.5625 GB, free: 34.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4322, allocations: 13.47 kB / 0.5625 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.4322, allocations: 2.375 kB / 0.5625 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.4323, allocations: 163.2 kB / 0.5627 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.4323, allocations: 2.625 kB / 0.5627 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.4323, allocations: 384 / 0.5627 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.4324, allocations: 36.25 kB / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.4324, allocations: 0 / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4324, allocations: 1.281 kB / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4325, allocations: 0 / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.4325, allocations: 2.078 kB / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.4328, allocations: 468 kB / 0.5632 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.4329, allocations: 175.8 kB / 0.5633 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.4329, allocations: 83.14 kB / 0.5634 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4329, allocations: 75.89 kB / 0.5635 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.4329, allocations: 107.7 kB / 0.5636 GB, free: 33.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4329, allocations: 1.719 kB / 0.5636 GB, free: 33.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.749e-05/0.433, allocations: 30.7 kB / 0.5636 GB, free: 33.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.433, allocations: 128.8 kB / 0.5637 GB, free: 33.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.4331, allocations: 105.4 kB / 0.5638 GB, free: 33.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.4331, allocations: 26.67 kB / 0.5639 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.4332, allocations: 86.8 kB / 0.564 GB, free: 33.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.4332, allocations: 0 / 0.564 GB, free: 33.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.4332, allocations: 14.31 kB / 0.564 GB, free: 33.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.4332, allocations: 321.4 kB / 0.5643 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.4333, allocations: 6.719 kB / 0.5643 GB, free: 32.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.4333, allocations: 2.094 kB / 0.5643 GB, free: 32.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.4333, allocations: 7.453 kB / 0.5643 GB, free: 32.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4333, allocations: 0 / 0.5643 GB, free: 32.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.898e-05/0.4334, allocations: 36.91 kB / 0.5643 GB, free: 32.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4334, allocations: 6.844 kB / 0.5643 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4334, allocations: 3.531 kB / 0.5643 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.4334, allocations: 1.25 kB / 0.5643 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.525e-05/0.4335, allocations: 0.7031 kB / 0.5643 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.4335, allocations: 1.531 kB / 0.5643 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.4335, allocations: 4 kB / 0.5643 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.4335, allocations: 1.094 kB / 0.5643 GB, free: 32.93 MB / 446.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 5.326e-05/0.4336, allocations: 187.2 kB / 0.5645 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.4336, allocations: 108.6 kB / 0.5646 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.4336, allocations: 114.4 kB / 0.5647 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.4337, allocations: 177.9 kB / 0.5649 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.848e-05/0.4337, allocations: 186.7 kB / 0.5651 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/0.4337, allocations: 178.8 kB / 0.5653 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.4339, allocations: 407.2 kB / 0.5656 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.4339, allocations: 106.2 kB / 0.5657 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.4339, allocations: 104.5 kB / 0.5658 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.434, allocations: 182.1 kB / 0.566 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.434, allocations: 182.8 kB / 0.5662 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.618e-05/0.434, allocations: 186.8 kB / 0.5664 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.541e-05/0.4341, allocations: 179.6 kB / 0.5665 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.592e-05/0.4341, allocations: 306.9 kB / 0.5668 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.4342, allocations: 187.4 kB / 0.567 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.4342, allocations: 182.4 kB / 0.5672 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.4343, allocations: 103.1 kB / 0.5673 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.4343, allocations: 177.6 kB / 0.5675 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.4343, allocations: 108.3 kB / 0.5676 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.4344, allocations: 84.03 kB / 0.5676 GB, free: 29.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4344, allocations: 0.7188 kB / 0.5676 GB, free: 29.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.4346, allocations: 22.41 kB / 0.5677 GB, free: 29.39 MB / 446.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.0003421/0.435, allocations: 233.5 kB / 0.5679 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.41e-05/0.435, allocations: 7.406 kB / 0.5679 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4351, allocations: 1 kB / 0.5679 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.4351, allocations: 0 / 0.5679 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.4353, allocations: 0.5304 MB / 0.5684 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.4357, allocations: 218.7 kB / 0.5686 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.4358, allocations: 0.672 MB / 0.5693 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.4358, allocations: 9.594 kB / 0.5693 GB, free: 27.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4358, allocations: 0 / 0.5693 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002587/0.4384, allocations: 0.8646 MB / 0.5701 GB, free: 27.74 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)