Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001791/0.001791, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.109/1.109, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 12 kB / 0.5161 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.156, allocations: 83.42 MB / 0.5976 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001466/0.1575, allocations: 0.9667 MB / 0.5985 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.1636, allocations: 4.166 MB / 0.6026 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.1636, allocations: 4 kB / 0.6026 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.1637, allocations: 4 kB / 0.6026 GB, free: 2.445 MB / 0.4981 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‘. Notification: Performance of NFTyping.typeBindings: time 0.003461/0.1672, allocations: 1.138 MB / 0.6037 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.565e-05/0.1673, allocations: 19.92 kB / 0.6037 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.1673, allocations: 27.95 kB / 0.6038 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.1674, allocations: 0 / 0.6038 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.1674, allocations: 7.938 kB / 0.6038 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.1675, allocations: 63.97 kB / 0.6038 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1675, allocations: 0 / 0.6038 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3012/0.4688, allocations: 1.985 MB / 0.6058 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.469, allocations: 260.2 kB / 0.606 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.4692, allocations: 74.55 kB / 0.6061 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.4722, allocations: 1.573 MB / 0.6076 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4722, allocations: 1.688 kB / 0.6076 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4722, allocations: 0 / 0.6076 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.4722, allocations: 0 / 0.6076 GB, free: 35.61 MB / 0.4981 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.002304/0.4745, allocations: 1.229 MB / 0.6088 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4746, allocations: 11.06 kB / 0.6088 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.4746, allocations: 30.56 kB / 0.6089 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.4749, allocations: 48.05 kB / 0.6089 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008397/0.4757, allocations: 0.6288 MB / 0.6095 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4758, allocations: 0 / 0.6095 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.4758, allocations: 5.078 kB / 0.6095 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.476, allocations: 170.9 kB / 0.6097 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.476, allocations: 2.625 kB / 0.6097 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.476, allocations: 4.031 kB / 0.6097 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.476, allocations: 0 / 0.6097 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4762, allocations: 283.9 kB / 0.61 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.4769, allocations: 0.5348 MB / 0.6105 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.477, allocations: 157.6 kB / 0.6106 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.4771, allocations: 148.8 kB / 0.6108 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.4771, allocations: 3.438 kB / 0.6108 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4771, allocations: 34.97 kB / 0.6108 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.354e-06/0.4771, allocations: 0.75 kB / 0.6108 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004963/0.4776, allocations: 493.6 kB / 0.6113 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.4777, allocations: 55 kB / 0.6114 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/0.4786, allocations: 0.6971 MB / 0.612 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.4786, allocations: 25.7 kB / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4787, allocations: 228.5 kB / 0.6123 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4787, allocations: 0.5 kB / 0.6123 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.4788, allocations: 1.312 kB / 0.6123 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.4789, allocations: 367.7 kB / 0.6126 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.4789, allocations: 140.7 kB / 0.6128 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.479, allocations: 144.4 kB / 0.6129 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.4791, allocations: 143.1 kB / 0.613 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4792, allocations: 0.6562 kB / 0.613 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000329/0.4795, allocations: 357.3 kB / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4795, allocations: 5.969 kB / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4795, allocations: 0.8438 kB / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4795, allocations: 0 / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.4796, allocations: 6.125 kB / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4796, allocations: 0.625 kB / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.4798, allocations: 35.09 kB / 0.6134 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.4799, allocations: 0 / 0.6134 GB, free: 33.57 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.48, allocations: 210.7 kB / 0.6136 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4801, allocations: 43.84 kB / 0.6137 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.4804, allocations: 381.5 kB / 0.614 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4804, allocations: 0.75 kB / 0.614 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4804, allocations: 1.594 kB / 0.614 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4804, allocations: 0 / 0.614 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.4808, allocations: 440.3 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.4808, allocations: 3.953 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.4808, allocations: 3.062 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4808, allocations: 3.609 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.4808, allocations: 0.5625 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4808, allocations: 0.9375 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4808, allocations: 3.375 kB / 0.6145 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4812, allocations: 378.8 kB / 0.6148 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.4815, allocations: 359.3 kB / 0.6152 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.4817, allocations: 1.625 kB / 0.6152 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.4819, allocations: 29.69 kB / 0.6152 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.4819, allocations: 3.906 kB / 0.6152 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4819, allocations: 4 kB / 0.6152 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007017/0.4826, allocations: 0.5388 MB / 0.6157 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4826, allocations: 0 / 0.6157 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001594/0.4842, allocations: 0.563 MB / 0.6163 GB, free: 32.81 MB / 0.4981 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 (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.003213/0.4874, allocations: 1.737 MB / 0.618 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.4877, allocations: 282.3 kB / 0.6183 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4877, allocations: 0 / 0.6183 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.4878, allocations: 167.8 kB / 0.6184 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4883, allocations: 38.67 kB / 0.6184 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.4938, allocations: 4.119 MB / 0.6225 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.4941, allocations: 0.8226 MB / 0.6233 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001286/0.4954, allocations: 456.3 kB / 0.6237 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.496, allocations: 376.3 kB / 0.6241 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.496, allocations: 0 / 0.6241 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.5493, allocations: 25.08 MB / 0.6486 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.5495, allocations: 318.2 kB / 0.6489 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.064, allocations: 4 kB / 0.6489 GB, free: 27.5 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) Environment - environmentSimulation: