Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00703/0.00703, allocations: 99.19 kB / 15.73 MB, free: 6.039 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.001477/0.001478, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 275 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 103.8 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002223/0.1565, allocations: 1.253 MB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.1628, allocations: 4.473 MB / 0.772 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.1628, allocations: 0 / 0.772 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.1629, allocations: 7.875 kB / 0.772 GB, free: 2.641 MB / 0.5606 GB [/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/BuildingSystems 2.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.003842/0.1668, allocations: 1.513 MB / 0.7735 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.738e-05/0.1669, allocations: 39.91 kB / 0.7735 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.1669, allocations: 15.97 kB / 0.7736 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.167, allocations: 4 kB / 0.7736 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.167, allocations: 8 kB / 0.7736 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.1671, allocations: 17.28 kB / 0.7736 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.1671, allocations: 0 / 0.7736 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3055/0.4726, allocations: 2.272 MB / 0.7758 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.4728, allocations: 152.2 kB / 0.7759 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.4728, allocations: 4.969 kB / 0.776 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.4758, allocations: 1.724 MB / 0.7776 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4758, allocations: 4.938 kB / 0.7776 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4758, allocations: 2.344 kB / 0.7776 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4758, allocations: 0 / 0.7776 GB, free: 9.223 MB / 0.5606 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.0009778/0.4768, allocations: 0.623 MB / 0.7783 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4769, allocations: 8.625 kB / 0.7783 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.4769, allocations: 2.344 kB / 0.7783 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/0.477, allocations: 164.2 kB / 0.7784 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-06/0.477, allocations: 384 / 0.7784 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.477, allocations: 1.25 kB / 0.7784 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4772, allocations: 175.6 kB / 0.7786 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.4772, allocations: 1.062 kB / 0.7786 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4772, allocations: 0 / 0.7786 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.4773, allocations: 3.031 kB / 0.7786 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.4775, allocations: 286.2 kB / 0.7789 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.4778, allocations: 286.4 kB / 0.7791 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4779, allocations: 159.8 kB / 0.7793 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.478, allocations: 148.8 kB / 0.7794 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.478, allocations: 2.375 kB / 0.7794 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.478, allocations: 38.91 kB / 0.7795 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4781, allocations: 0 / 0.7795 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0004058/0.4785, allocations: 451.7 kB / 0.7799 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.4785, allocations: 52.91 kB / 0.78 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.4786, allocations: 170 kB / 0.7801 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.4786, allocations: 25.7 kB / 0.7801 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 1.019e-05/0.4786, allocations: 81.86 kB / 0.7802 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4787, allocations: 3.406 kB / 0.7802 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.4787, allocations: 15.62 kB / 0.7802 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.4787, allocations: 313 kB / 0.7805 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.4788, allocations: 141.8 kB / 0.7807 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.479, allocations: 141.6 kB / 0.7808 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.4792, allocations: 287.2 kB / 0.7811 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4792, allocations: 0 / 0.7811 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002409/0.4794, allocations: 323.1 kB / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4795, allocations: 12.75 kB / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4795, allocations: 0 / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4795, allocations: 0 / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.4795, allocations: 1.562 kB / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4795, allocations: 1.156 kB / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.4796, allocations: 0.6875 kB / 0.7814 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4796, allocations: 1.219 kB / 0.7814 GB, free: 7.535 MB / 0.5606 GB 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 7.828e-05/0.4797, allocations: 166.7 kB / 0.7816 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.4797, allocations: 7.031 kB / 0.7816 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.48, allocations: 327.5 kB / 0.7819 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.48, allocations: 0.9062 kB / 0.7819 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.48, allocations: 0.5469 kB / 0.7819 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.48, allocations: 0 / 0.7819 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.4801, allocations: 289.3 kB / 0.7822 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4802, allocations: 2.719 kB / 0.7822 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-06/0.4802, allocations: 4.547 kB / 0.7822 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4802, allocations: 1.312 kB / 0.7822 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4802, allocations: 0.6094 kB / 0.7822 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4802, allocations: 2.188 kB / 0.7822 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4802, allocations: 3.922 kB / 0.7822 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.4804, allocations: 342.2 kB / 0.7825 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.4804, allocations: 82.97 kB / 0.7826 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.4805, allocations: 4.453 kB / 0.7826 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.4805, allocations: 3.75 kB / 0.7826 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.4806, allocations: 1.828 kB / 0.7826 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4806, allocations: 2.531 kB / 0.7826 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.4806, allocations: 152.5 kB / 0.7827 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4806, allocations: 0 / 0.7827 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001592/0.4822, allocations: 0.5687 MB / 0.7833 GB, free: 6.867 MB / 0.5606 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 (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.002083/0.4843, allocations: 0.9208 MB / 0.7842 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.4846, allocations: 280.2 kB / 0.7845 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4846, allocations: 3.625 kB / 0.7845 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.4847, allocations: 173.6 kB / 0.7846 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.4849, allocations: 9.438 kB / 0.7846 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.4858, allocations: 0.9197 MB / 0.7855 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.486, allocations: 0.8157 MB / 0.7863 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.486, allocations: 3.75 kB / 0.7863 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.4861, allocations: 16.69 kB / 0.7863 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.4861, allocations: 0 / 0.7863 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of Templates: time 0.02105/0.5071, allocations: 12.36 MB / 0.7984 GB, free: 4.43 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)