Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 103.4 kB / 15.98 MB, free: 5.871 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.001852/0.001852, allocations: 191 kB / 16.91 MB, free: 5.738 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8264/0.8264, allocations: 122.9 MB / 413.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 67.89 kB / 0.4906 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 77.9 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00207/0.3274, allocations: 1.317 MB / 0.568 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.333, allocations: 4.49 MB / 0.5724 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.3331, allocations: 0.5625 kB / 0.5724 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.3331, allocations: 0.6094 kB / 0.5724 GB, free: 28.77 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.003704/0.3369, allocations: 1.347 MB / 0.5737 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.773e-05/0.337, allocations: 33.62 kB / 0.5737 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.337, allocations: 13.5 kB / 0.5737 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.3371, allocations: 3.422 kB / 0.5737 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.3371, allocations: 5.328 kB / 0.5738 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3372, allocations: 66.45 kB / 0.5738 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.3372, allocations: 0.5 kB / 0.5738 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003567/0.3408, allocations: 2.253 MB / 0.576 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.341, allocations: 149.6 kB / 0.5762 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.341, allocations: 26.48 kB / 0.5762 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.3432, allocations: 1.746 MB / 0.5779 GB, free: 26.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3433, allocations: 3.984 kB / 0.5779 GB, free: 26.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3433, allocations: 0 / 0.5779 GB, free: 26.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3433, allocations: 0.8438 kB / 0.5779 GB, free: 26.87 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.0008208/0.3441, allocations: 0.6201 MB / 0.5785 GB, free: 26.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3442, allocations: 8.906 kB / 0.5785 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.3442, allocations: 2.281 kB / 0.5785 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.3443, allocations: 174.2 kB / 0.5787 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3443, allocations: 2.312 kB / 0.5787 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3443, allocations: 8.062 kB / 0.5787 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3445, allocations: 170 kB / 0.5789 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.3445, allocations: 0 / 0.5789 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3446, allocations: 0 / 0.5789 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3446, allocations: 1.375 kB / 0.5789 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.3448, allocations: 279.7 kB / 0.5791 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.3451, allocations: 291.5 kB / 0.5794 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3452, allocations: 159.3 kB / 0.5795 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/0.3453, allocations: 149.6 kB / 0.5797 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.3453, allocations: 5.016 kB / 0.5797 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.3453, allocations: 36.31 kB / 0.5797 GB, free: 25.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3453, allocations: 0.6562 kB / 0.5797 GB, free: 25.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003764/0.3457, allocations: 452.7 kB / 0.5802 GB, free: 25.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.3458, allocations: 54.09 kB / 0.5802 GB, free: 25.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.3458, allocations: 171.9 kB / 0.5804 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3459, allocations: 28.86 kB / 0.5804 GB, free: 25.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.387e-05/0.3459, allocations: 80.92 kB / 0.5805 GB, free: 25.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3459, allocations: 0 / 0.5805 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.3459, allocations: 22 kB / 0.5805 GB, free: 25.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.346, allocations: 311.5 kB / 0.5808 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.3461, allocations: 139.4 kB / 0.5809 GB, free: 24.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.3462, allocations: 142.5 kB / 0.5811 GB, free: 24.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.3464, allocations: 285.3 kB / 0.5813 GB, free: 24.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3464, allocations: 0 / 0.5813 GB, free: 24.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002187/0.3466, allocations: 317.5 kB / 0.5816 GB, free: 24.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3467, allocations: 4.969 kB / 0.5817 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3467, allocations: 0.5312 kB / 0.5817 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3467, allocations: 0.9062 kB / 0.5817 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.3468, allocations: 6.344 kB / 0.5817 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3468, allocations: 0 / 0.5817 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.3469, allocations: 4.5 kB / 0.5817 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3469, allocations: 0 / 0.5817 GB, free: 24.85 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: 0 () * 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 8.449e-05/0.347, allocations: 172.8 kB / 0.5818 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.347, allocations: 11.83 kB / 0.5818 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.3473, allocations: 317.4 kB / 0.5821 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3473, allocations: 1 kB / 0.5821 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3473, allocations: 0 / 0.5821 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3473, allocations: 1.25 kB / 0.5821 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3475, allocations: 292.7 kB / 0.5824 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3475, allocations: 1.406 kB / 0.5824 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3475, allocations: 0 / 0.5824 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3475, allocations: 0 / 0.5824 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3475, allocations: 5.719 kB / 0.5824 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3475, allocations: 0.875 kB / 0.5824 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3475, allocations: 3.938 kB / 0.5824 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3478, allocations: 338.4 kB / 0.5828 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3478, allocations: 82.33 kB / 0.5828 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.3479, allocations: 2.688 kB / 0.5828 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.348, allocations: 5.312 kB / 0.5828 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.348, allocations: 3.984 kB / 0.5828 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.348, allocations: 0.9375 kB / 0.5828 GB, free: 24.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.3481, allocations: 150.2 kB / 0.583 GB, free: 24.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3481, allocations: 0.7812 kB / 0.583 GB, free: 24.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001262/0.3493, allocations: 0.5688 MB / 0.5835 GB, free: 23.99 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002079/0.3514, allocations: 0.9257 MB / 0.5845 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.3517, allocations: 285.5 kB / 0.5847 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3517, allocations: 0 / 0.5847 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3518, allocations: 169.5 kB / 0.5849 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.352, allocations: 5.875 kB / 0.5849 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.353, allocations: 1.006 MB / 0.5859 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3533, allocations: 0.8144 MB / 0.5867 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.977e-05/0.3533, allocations: 7.109 kB / 0.5867 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.3533, allocations: 12.5 kB / 0.5867 GB, free: 22.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3533, allocations: 0 / 0.5867 GB, free: 22.26 MB / 446.1 MB Notification: Performance of Templates: time 0.0147/0.368, allocations: 12.23 MB / 0.5986 GB, free: 10.14 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)