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.001315/0.001315, allocations: 102.6 kB / 15.98 MB, free: 6.332 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.001399/0.001399, allocations: 198.9 kB / 16.91 MB, free: 6.18 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.268/1.268, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6794/0.6794, allocations: 115.3 MB / 406.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 68.08 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 76.17 MB / 0.5561 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002198/0.3225, allocations: 1.304 MB / 0.5573 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.3278, allocations: 4.489 MB / 0.5617 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.3279, allocations: 0 / 0.5617 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.821e-05/0.3279, allocations: 6.188 kB / 0.5617 GB, free: 32.39 MB / 446.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.004182/0.3322, allocations: 1.342 MB / 0.563 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.165e-05/0.3323, allocations: 29.52 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.3323, allocations: 18 kB / 0.5631 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.3324, allocations: 6.516 kB / 0.5631 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.3324, allocations: 4.953 kB / 0.5631 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.3325, allocations: 64.2 kB / 0.5632 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.3325, allocations: 0 / 0.5632 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.3358, allocations: 2.253 MB / 0.5654 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.336, allocations: 245.3 kB / 0.5656 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.3363, allocations: 288 kB / 0.5659 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.3396, allocations: 2.203 MB / 0.568 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3397, allocations: 0 / 0.568 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3397, allocations: 2.188 kB / 0.568 GB, free: 30.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3397, allocations: 0 / 0.568 GB, free: 30.49 MB / 446.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.002751/0.3424, allocations: 1.498 MB / 0.5695 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3425, allocations: 9.625 kB / 0.5695 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.3425, allocations: 30.75 kB / 0.5695 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.3427, allocations: 44.38 kB / 0.5696 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.3434, allocations: 0.6354 MB / 0.5702 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3434, allocations: 1.219 kB / 0.5702 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.3435, allocations: 3.938 kB / 0.5702 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3436, allocations: 175.7 kB / 0.5704 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3437, allocations: 0 / 0.5704 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.3437, allocations: 0 / 0.5704 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3437, allocations: 1.031 kB / 0.5704 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.3439, allocations: 282.2 kB / 0.5706 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.3445, allocations: 0.5366 MB / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3446, allocations: 165.5 kB / 0.5713 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3447, allocations: 145.7 kB / 0.5714 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.3448, allocations: 1.719 kB / 0.5714 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3448, allocations: 37.48 kB / 0.5715 GB, free: 28.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3448, allocations: 0 / 0.5715 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000578/0.3454, allocations: 493 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.3454, allocations: 52.25 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.3463, allocations: 0.6965 MB / 0.5727 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.3463, allocations: 34.61 kB / 0.5727 GB, free: 28.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3464, allocations: 222.6 kB / 0.5729 GB, free: 28.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.3464, allocations: 4.469 kB / 0.5729 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.3465, allocations: 11.83 kB / 0.5729 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.3465, allocations: 364.5 kB / 0.5733 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.3466, allocations: 141.7 kB / 0.5734 GB, free: 28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3468, allocations: 144.7 kB / 0.5736 GB, free: 28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.347, allocations: 290.4 kB / 0.5738 GB, free: 27.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.347, allocations: 0 / 0.5738 GB, free: 27.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004201/0.3474, allocations: 362.6 kB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3474, allocations: 5.656 kB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3474, allocations: 5.438 kB / 0.5742 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3474, allocations: 0.75 kB / 0.5742 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.3475, allocations: 2.344 kB / 0.5742 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3475, allocations: 0.5156 kB / 0.5742 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3477, allocations: 31.66 kB / 0.5742 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3477, allocations: 0.6562 kB / 0.5742 GB, free: 27.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.3479, allocations: 209.4 kB / 0.5744 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.3481, allocations: 45.88 kB / 0.5745 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.3484, allocations: 381.7 kB / 0.5748 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3484, allocations: 1.969 kB / 0.5748 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3484, allocations: 0 / 0.5748 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3484, allocations: 2.219 kB / 0.5748 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.3488, allocations: 442 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.3489, allocations: 1.156 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.3489, allocations: 0.6562 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3489, allocations: 2.906 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.3489, allocations: 0 / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3489, allocations: 0.5156 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3489, allocations: 1.906 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.3493, allocations: 387.1 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.3497, allocations: 339.7 kB / 0.576 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.3499, allocations: 1.188 kB / 0.576 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3501, allocations: 29 kB / 0.576 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.3501, allocations: 2.688 kB / 0.576 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3501, allocations: 1.312 kB / 0.576 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006737/0.3508, allocations: 0.5312 MB / 0.5765 GB, free: 27.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3508, allocations: 0.5 kB / 0.5765 GB, free: 27.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001945/0.3527, allocations: 0.5659 MB / 0.5771 GB, free: 26.95 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 (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.002747/0.3555, allocations: 1.75 MB / 0.5788 GB, free: 26.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3558, allocations: 287.6 kB / 0.579 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3558, allocations: 0 / 0.579 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3559, allocations: 169.5 kB / 0.5792 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3562, allocations: 34.34 kB / 0.5792 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008016/0.3643, allocations: 7.451 MB / 0.5865 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.3645, allocations: 0.8165 MB / 0.5873 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.3656, allocations: 450 kB / 0.5877 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006023/0.3662, allocations: 371.2 kB / 0.5881 GB, free: 19.55 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3662, allocations: 0 / 0.5881 GB, free: 19.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.4046, allocations: 25.53 MB / 0.613 GB, free: 10.26 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.4048, allocations: 323.6 kB / 0.6133 GB, free: 9.879 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.626, allocations: 2.062 kB / 0.6133 GB, free: 9.879 MB / 462.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/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)