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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_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.001145/0.001145, allocations: 99.72 kB / 16.4 MB, free: 6.484 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.001234/0.001234, allocations: 188 kB / 17.34 MB, free: 5.734 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7337/0.7337, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 76.2 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 77.92 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002287/0.1284, allocations: 1.231 MB / 0.6453 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006617/0.1351, allocations: 4.497 MB / 0.6497 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.1351, allocations: 0 / 0.6497 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.782e-05/0.1352, allocations: 7.938 kB / 0.6497 GB, free: 3.77 MB / 494.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.004179/0.1394, allocations: 1.503 MB / 0.6512 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.683e-05/0.1395, allocations: 35.91 kB / 0.6512 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.1396, allocations: 11.98 kB / 0.6512 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1397, allocations: 0 / 0.6512 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.1397, allocations: 7.984 kB / 0.6512 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.1397, allocations: 21.28 kB / 0.6512 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1398, allocations: 3.984 kB / 0.6512 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.1433, allocations: 2.274 MB / 0.6535 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1435, allocations: 242.1 kB / 0.6537 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.1439, allocations: 250.8 kB / 0.6539 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.1472, allocations: 2.209 MB / 0.6561 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1472, allocations: 0 / 0.6561 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1473, allocations: 0 / 0.6561 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.1473, allocations: 0 / 0.6561 GB, free: 13.21 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.002532/0.1498, allocations: 1.532 MB / 0.6576 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1499, allocations: 8.625 kB / 0.6576 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.1499, allocations: 34.75 kB / 0.6576 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.1501, allocations: 44.66 kB / 0.6577 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.1511, allocations: 0.6447 MB / 0.6583 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.1511, allocations: 384 / 0.6583 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1511, allocations: 7.875 kB / 0.6583 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1513, allocations: 165.6 kB / 0.6585 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1513, allocations: 0 / 0.6585 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1513, allocations: 4 kB / 0.6585 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1513, allocations: 0 / 0.6585 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.1515, allocations: 275.9 kB / 0.6587 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.1521, allocations: 0.5405 MB / 0.6593 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1522, allocations: 158.5 kB / 0.6594 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1523, allocations: 148.8 kB / 0.6596 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1523, allocations: 4 kB / 0.6596 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1523, allocations: 34.56 kB / 0.6596 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1523, allocations: 0 / 0.6596 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0005557/0.1529, allocations: 497.3 kB / 0.6601 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1529, allocations: 55.41 kB / 0.6601 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/0.1538, allocations: 0.6981 MB / 0.6608 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1539, allocations: 25.7 kB / 0.6608 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.154, allocations: 224.1 kB / 0.661 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.154, allocations: 7.891 kB / 0.661 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1541, allocations: 9.719 kB / 0.6611 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1542, allocations: 366.8 kB / 0.6614 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1543, allocations: 151.9 kB / 0.6616 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.1544, allocations: 139.9 kB / 0.6617 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1546, allocations: 292.7 kB / 0.662 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1546, allocations: 0 / 0.662 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00041/0.155, allocations: 361.2 kB / 0.6623 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1551, allocations: 9.25 kB / 0.6623 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1551, allocations: 0 / 0.6623 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1551, allocations: 0 / 0.6623 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.1551, allocations: 0 / 0.6623 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1552, allocations: 8.094 kB / 0.6623 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1554, allocations: 28 kB / 0.6624 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1554, allocations: 0 / 0.6624 GB, free: 6.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.1556, allocations: 214.5 kB / 0.6626 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.1558, allocations: 47.7 kB / 0.6626 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1561, allocations: 377 kB / 0.663 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1561, allocations: 0 / 0.663 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1561, allocations: 4 kB / 0.663 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1561, allocations: 32 / 0.663 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.1565, allocations: 445.5 kB / 0.6634 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1565, allocations: 0 / 0.6634 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.1565, allocations: 0 / 0.6634 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1565, allocations: 0 / 0.6634 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.1565, allocations: 0 / 0.6634 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1565, allocations: 3.984 kB / 0.6634 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1565, allocations: 0 / 0.6634 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.1569, allocations: 392.6 kB / 0.6638 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/0.1575, allocations: 340.5 kB / 0.6641 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.1577, allocations: 4 kB / 0.6641 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.1579, allocations: 32 kB / 0.6641 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.1579, allocations: 0 / 0.6641 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.158, allocations: 0 / 0.6641 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007341/0.1587, allocations: 0.53 MB / 0.6646 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1587, allocations: 0 / 0.6646 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001416/0.1601, allocations: 0.5803 MB / 0.6652 GB, free: 3.531 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 (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.003133/0.1633, allocations: 1.752 MB / 0.6669 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1636, allocations: 287.9 kB / 0.6672 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1636, allocations: 0 / 0.6672 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1637, allocations: 169.6 kB / 0.6674 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1642, allocations: 35.12 kB / 0.6674 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008825/0.173, allocations: 7.191 MB / 0.6744 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1734, allocations: 0.8158 MB / 0.6752 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001038/0.1744, allocations: 448.4 kB / 0.6756 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/0.1751, allocations: 371.2 kB / 0.676 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of SimCode: time 2.234e-06/0.1751, allocations: 4 kB / 0.676 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.2243, allocations: 25.75 MB / 0.7011 GB, free: 14.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.55, allocations: 12.41 kB / 0.7012 GB, free: 14.92 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)