Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_Buildings_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.001086/0.001086, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001413/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 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.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004777, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6638, allocations: 142.3 MB / 0.9539 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001154/0.665, allocations: 0.9784 MB / 0.9548 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.6688, allocations: 3.064 MB / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.6688, allocations: 0 / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.6689, allocations: 0 / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.6709, allocations: 0.7551 MB / 0.9586 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.382e-05/0.671, allocations: 23.94 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.6711, allocations: 23.97 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.6711, allocations: 1.344 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.6711, allocations: 3.969 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.6713, allocations: 65.44 kB / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.6713, allocations: 0 / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.6731, allocations: 1.333 MB / 0.96 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.6734, allocations: 262.9 kB / 0.9602 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.6734, allocations: 79.14 kB / 0.9603 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.6747, allocations: 1.125 MB / 0.9614 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6747, allocations: 0 / 0.9614 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6747, allocations: 5.219 kB / 0.9614 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6747, allocations: 0 / 0.9614 GB, free: 3.145 MB / 0.7169 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.001374/0.6761, allocations: 1.145 MB / 0.9625 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6762, allocations: 8.906 kB / 0.9625 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.6762, allocations: 30.56 kB / 0.9626 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.6763, allocations: 42.84 kB / 0.9626 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.677, allocations: 0.5915 MB / 0.9632 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.677, allocations: 1.344 kB / 0.9632 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.677, allocations: 4 kB / 0.9632 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.6772, allocations: 172.5 kB / 0.9634 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.6772, allocations: 3.984 kB / 0.9634 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6772, allocations: 11.89 kB / 0.9634 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6772, allocations: 0.9688 kB / 0.9634 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.6775, allocations: 278 kB / 0.9636 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.6781, allocations: 0.5273 MB / 0.9642 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.6782, allocations: 157.5 kB / 0.9643 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.6784, allocations: 146.3 kB / 0.9645 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.6784, allocations: 0.8125 kB / 0.9645 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.6784, allocations: 43.41 kB / 0.9645 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6784, allocations: 0 / 0.9645 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0005734/0.679, allocations: 498.1 kB / 0.965 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.679, allocations: 56.39 kB / 0.965 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.6799, allocations: 0.6883 MB / 0.9657 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.6799, allocations: 25.7 kB / 0.9657 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.68, allocations: 231.7 kB / 0.9659 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.68, allocations: 4.062 kB / 0.9659 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.68, allocations: 4 kB / 0.9659 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.6801, allocations: 366.5 kB / 0.9663 GB, free: 196 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.6802, allocations: 137 kB / 0.9664 GB, free: 184 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.6803, allocations: 146.1 kB / 0.9666 GB, free: 164 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.6805, allocations: 145.5 kB / 0.9667 GB, free: 144 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6805, allocations: 0 / 0.9667 GB, free: 144 kB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00036/0.6809, allocations: 359 kB / 0.967 GB, free: 52 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6809, allocations: 5.156 kB / 0.9671 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6809, allocations: 4.094 kB / 0.9671 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6809, allocations: 0 / 0.9671 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.681, allocations: 6.703 kB / 0.9671 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.681, allocations: 3.953 kB / 0.9671 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.6812, allocations: 28.5 kB / 0.9671 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.6812, allocations: 1.25 kB / 0.9671 GB, free: 40 kB / 0.7169 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.0002168/0.6814, allocations: 206.9 kB / 0.9673 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.6815, allocations: 46.47 kB / 0.9673 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.6819, allocations: 375.1 kB / 0.9677 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.682, allocations: 0 / 0.9677 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.682, allocations: 1.031 kB / 0.9677 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.682, allocations: 7.938 kB / 0.9677 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.6825, allocations: 440.2 kB / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6825, allocations: 1.312 kB / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.6825, allocations: 0 / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6825, allocations: 1.375 kB / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.6825, allocations: 0 / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6825, allocations: 1.375 kB / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6825, allocations: 0 / 0.9681 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.6829, allocations: 390.9 kB / 0.9685 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.6833, allocations: 331.9 kB / 0.9688 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.6835, allocations: 1.125 kB / 0.9688 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.6838, allocations: 36.3 kB / 0.9689 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.6839, allocations: 1.281 kB / 0.9689 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.6839, allocations: 1.188 kB / 0.9689 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001148/0.685, allocations: 0.5327 MB / 0.9694 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.685, allocations: 0 / 0.9694 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001722/0.6868, allocations: 378.5 kB / 0.9697 GB, free: 14.77 MB / 0.7325 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.003316/0.6901, allocations: 1.516 MB / 0.9712 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.6905, allocations: 280.9 kB / 0.9715 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6905, allocations: 3.938 kB / 0.9715 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.6907, allocations: 173.6 kB / 0.9717 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.6912, allocations: 39.86 kB / 0.9717 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008903/0.7001, allocations: 4.052 MB / 0.9757 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.7007, allocations: 0.8236 MB / 0.9765 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002468/0.7032, allocations: 439.2 kB / 0.9769 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008954/0.7041, allocations: 363.2 kB / 0.9772 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.7042, allocations: 3.938 kB / 0.9772 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.7571, allocations: 20.51 MB / 0.9973 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/0.7575, allocations: 304.9 kB / 0.9975 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.871, allocations: 4 kB / 0.9975 GB, free: 3.266 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)