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.001127/0.001127, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 177 kB / 16.57 MB, free: 6.859 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.633/1.633, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6664/0.6664, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 8.719 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 77.11 MB / 0.5568 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001049/0.128, allocations: 0.9628 MB / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.133, allocations: 4.09 MB / 0.5617 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.1331, allocations: 0 / 0.5617 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.1331, allocations: 0 / 0.5617 GB, free: 6.598 MB / 430.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‘. Notification: Performance of NFTyping.typeBindings: time 0.002457/0.1356, allocations: 1.088 MB / 0.5628 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.631e-05/0.1357, allocations: 23.84 kB / 0.5628 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.381e-05/0.1357, allocations: 4 kB / 0.5628 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.1357, allocations: 0 / 0.5628 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.1358, allocations: 7.984 kB / 0.5628 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.1358, allocations: 15.98 kB / 0.5628 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.1358, allocations: 0 / 0.5628 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.1381, allocations: 1.88 MB / 0.5646 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1382, allocations: 219.6 kB / 0.5649 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.1383, allocations: 81.45 kB / 0.5649 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1398, allocations: 1.576 MB / 0.5665 GB, free: 1.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1398, allocations: 0 / 0.5665 GB, free: 1.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1398, allocations: 0 / 0.5665 GB, free: 1.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1398, allocations: 0 / 0.5665 GB, free: 1.695 MB / 430.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.001727/0.1416, allocations: 1.215 MB / 0.5677 GB, free: 440 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1416, allocations: 12.03 kB / 0.5677 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.1417, allocations: 30.56 kB / 0.5677 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1418, allocations: 47.34 kB / 0.5677 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.1426, allocations: 0.6084 MB / 0.5683 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1426, allocations: 3.938 kB / 0.5683 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1426, allocations: 3.953 kB / 0.5683 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1428, allocations: 169.6 kB / 0.5685 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1428, allocations: 4 kB / 0.5685 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.1428, allocations: 3.938 kB / 0.5685 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1428, allocations: 0 / 0.5685 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.143, allocations: 279.9 kB / 0.5688 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.1435, allocations: 0.5366 MB / 0.5693 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1436, allocations: 158.5 kB / 0.5695 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.1437, allocations: 0 / 0.5695 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1437, allocations: 38.45 kB / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.1437, allocations: 0 / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004297/0.1441, allocations: 0.4893 MB / 0.57 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.1442, allocations: 51.53 kB / 0.57 GB, free: 13.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.1449, allocations: 0.6942 MB / 0.5707 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.1449, allocations: 25.7 kB / 0.5707 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1451, allocations: 232.1 kB / 0.5709 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1451, allocations: 0 / 0.5709 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.1451, allocations: 0 / 0.5709 GB, free: 12.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1452, allocations: 366.8 kB / 0.5713 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.1453, allocations: 140 kB / 0.5714 GB, free: 12.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.1454, allocations: 139.9 kB / 0.5716 GB, free: 12.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.1455, allocations: 151.9 kB / 0.5717 GB, free: 12.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1455, allocations: 0 / 0.5717 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002977/0.1458, allocations: 353 kB / 0.572 GB, free: 11.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1458, allocations: 6.344 kB / 0.572 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1458, allocations: 3.953 kB / 0.5721 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1458, allocations: 0 / 0.5721 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.1459, allocations: 4 kB / 0.5721 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1459, allocations: 0 / 0.5721 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1461, allocations: 28 kB / 0.5721 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1461, allocations: 32 / 0.5721 GB, free: 11.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.1463, allocations: 218.4 kB / 0.5723 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.1464, allocations: 43.44 kB / 0.5723 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1467, allocations: 376.8 kB / 0.5727 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1467, allocations: 3.953 kB / 0.5727 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1467, allocations: 7.922 kB / 0.5727 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1467, allocations: 0 / 0.5727 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.147, allocations: 437.5 kB / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1471, allocations: 0 / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1471, allocations: 4.031 kB / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1471, allocations: 4 kB / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1471, allocations: 0 / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1471, allocations: 0 / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1471, allocations: 7.938 kB / 0.5731 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1474, allocations: 376.5 kB / 0.5735 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.1479, allocations: 352.1 kB / 0.5738 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.1481, allocations: 0 / 0.5738 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.1483, allocations: 36.02 kB / 0.5739 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.1483, allocations: 3.953 kB / 0.5739 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1483, allocations: 4 kB / 0.5739 GB, free: 9.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005914/0.1489, allocations: 0.5299 MB / 0.5744 GB, free: 9.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1489, allocations: 4 kB / 0.5744 GB, free: 9.254 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001192/0.1501, allocations: 0.5584 MB / 0.5749 GB, free: 8.695 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 (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.002225/0.1524, allocations: 1.727 MB / 0.5766 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1526, allocations: 287.8 kB / 0.5769 GB, free: 6.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1526, allocations: 0 / 0.5769 GB, free: 6.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1527, allocations: 165.7 kB / 0.5771 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.1529, allocations: 39.03 kB / 0.5771 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.1575, allocations: 4.037 MB / 0.581 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1578, allocations: 0.8278 MB / 0.5818 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001278/0.1591, allocations: 450 kB / 0.5823 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.1598, allocations: 371.2 kB / 0.5826 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1598, allocations: 0 / 0.5826 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.43/2.59, allocations: 24.79 MB / 0.6068 GB, free: 22.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/2.59, allocations: 291.8 kB / 0.6071 GB, free: 22.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/5.891, allocations: 0 / 0.6071 GB, free: 22.6 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: