Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_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.001138/0.001138, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001194/0.001194, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8742/0.8742, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 72.58 kB / 0.505 GB, free: 5.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1368, allocations: 80.93 MB / 0.584 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002311/0.1392, allocations: 1.305 MB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.1436, allocations: 3.299 MB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.1436, allocations: 0 / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.975e-05/0.1437, allocations: 0 / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.1462, allocations: 0.877 MB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 8.478e-05/0.1463, allocations: 35.91 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.1463, allocations: 11.94 kB / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.1464, allocations: 0 / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.1464, allocations: 7.984 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1465, allocations: 66.56 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1465, allocations: 4 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.1485, allocations: 1.443 MB / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1487, allocations: 254.1 kB / 0.5912 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.149, allocations: 278.8 kB / 0.5914 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.1509, allocations: 1.555 MB / 0.5929 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.151, allocations: 0 / 0.5929 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.151, allocations: 0 / 0.5929 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.151, allocations: 4 kB / 0.5929 GB, free: 11.57 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.001914/0.1529, allocations: 1.409 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1529, allocations: 8.031 kB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.153, allocations: 30.75 kB / 0.5944 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.1532, allocations: 44.38 kB / 0.5944 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.1538, allocations: 0.6245 MB / 0.595 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1538, allocations: 3.984 kB / 0.595 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1539, allocations: 0 / 0.595 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.154, allocations: 169.6 kB / 0.5952 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.154, allocations: 0 / 0.5952 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1541, allocations: 4 kB / 0.5952 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1541, allocations: 0 / 0.5952 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.1543, allocations: 283.8 kB / 0.5954 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1548, allocations: 0.5326 MB / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.155, allocations: 158.5 kB / 0.5961 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1551, allocations: 144.9 kB / 0.5963 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.1551, allocations: 0 / 0.5963 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1551, allocations: 42.56 kB / 0.5963 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1552, allocations: 0 / 0.5963 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0005347/0.1557, allocations: 492.9 kB / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1557, allocations: 51.41 kB / 0.5968 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.1566, allocations: 0.6942 MB / 0.5975 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1566, allocations: 25.7 kB / 0.5975 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1567, allocations: 228.1 kB / 0.5977 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.1568, allocations: 3.906 kB / 0.5977 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.1568, allocations: 13.84 kB / 0.5978 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1569, allocations: 370.7 kB / 0.5981 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.157, allocations: 140 kB / 0.5982 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.1571, allocations: 143.9 kB / 0.5984 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1573, allocations: 288.8 kB / 0.5987 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1573, allocations: 0 / 0.5987 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003843/0.1577, allocations: 357 kB / 0.599 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1577, allocations: 10.28 kB / 0.599 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1578, allocations: 4 kB / 0.599 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1578, allocations: 0 / 0.599 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.1578, allocations: 3.984 kB / 0.599 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1578, allocations: 3.938 kB / 0.599 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.158, allocations: 35.94 kB / 0.599 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1581, allocations: 0 / 0.599 GB, free: 5.07 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.0002058/0.1583, allocations: 205.7 kB / 0.5992 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.1584, allocations: 43.44 kB / 0.5993 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1588, allocations: 380.9 kB / 0.5996 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1588, allocations: 0 / 0.5996 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1588, allocations: 4 kB / 0.5997 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1588, allocations: 0 / 0.5997 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.1592, allocations: 441.4 kB / 0.6001 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1592, allocations: 4 kB / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1592, allocations: 0 / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1592, allocations: 0 / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.1592, allocations: 0 / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1592, allocations: 0 / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1592, allocations: 0 / 0.6001 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1596, allocations: 388.4 kB / 0.6004 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.16, allocations: 328.3 kB / 0.6008 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.1601, allocations: 0 / 0.6008 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1603, allocations: 32 kB / 0.6008 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.1603, allocations: 4 kB / 0.6008 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1603, allocations: 0 / 0.6008 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006503/0.161, allocations: 0.5338 MB / 0.6013 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.161, allocations: 4 kB / 0.6013 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009277/0.1619, allocations: 375.8 kB / 0.6017 GB, free: 2.27 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.002163/0.1641, allocations: 1.521 MB / 0.6032 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1643, allocations: 287.9 kB / 0.6034 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1644, allocations: 0 / 0.6034 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1645, allocations: 173.6 kB / 0.6036 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1648, allocations: 34.44 kB / 0.6036 GB, free: 332 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2106/0.3755, allocations: 7.352 MB / 0.6108 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3757, allocations: 0.8151 MB / 0.6116 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001152/0.3768, allocations: 447.5 kB / 0.612 GB, free: 49.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/0.3774, allocations: 366 kB / 0.6124 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.3774, allocations: 0 / 0.6124 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/0.5303, allocations: 21.22 MB / 0.6331 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.5305, allocations: 320.7 kB / 0.6334 GB, free: 46.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.739, allocations: 0 / 0.6334 GB, free: 46.93 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)