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.001526/0.001526, allocations: 108 kB / 15.6 MB, free: 132 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.001416/0.001416, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8966/0.8966, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 60.72 kB / 0.5055 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1599, allocations: 80.93 MB / 0.5845 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002932/0.1628, allocations: 1.245 MB / 0.5857 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.168, allocations: 3.291 MB / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.1681, allocations: 3.938 kB / 0.589 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.1682, allocations: 4 kB / 0.589 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.1712, allocations: 0.9783 MB / 0.5899 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.1714, allocations: 39.89 kB / 0.5899 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.1714, allocations: 11.94 kB / 0.59 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.1715, allocations: 7.984 kB / 0.59 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.1715, allocations: 11.94 kB / 0.59 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.1716, allocations: 25.27 kB / 0.59 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1716, allocations: 0 / 0.59 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.174, allocations: 1.404 MB / 0.5914 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.1742, allocations: 238.1 kB / 0.5916 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.1747, allocations: 242.9 kB / 0.5918 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.1775, allocations: 1.54 MB / 0.5933 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1775, allocations: 0 / 0.5933 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1775, allocations: 0 / 0.5933 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.1775, allocations: 4 kB / 0.5933 GB, free: 11.3 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.00249/0.18, allocations: 1.406 MB / 0.5947 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1801, allocations: 8.031 kB / 0.5947 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.1802, allocations: 30.75 kB / 0.5948 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.1805, allocations: 44.38 kB / 0.5948 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.1813, allocations: 0.6244 MB / 0.5954 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1813, allocations: 0 / 0.5954 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1814, allocations: 3.938 kB / 0.5954 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1816, allocations: 173.6 kB / 0.5956 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1816, allocations: 4 kB / 0.5956 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1816, allocations: 0 / 0.5956 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1816, allocations: 0 / 0.5956 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1819, allocations: 279.9 kB / 0.5958 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.1826, allocations: 0.5326 MB / 0.5964 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1828, allocations: 158.5 kB / 0.5965 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1829, allocations: 148.8 kB / 0.5967 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1829, allocations: 0 / 0.5967 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.183, allocations: 38.56 kB / 0.5967 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.183, allocations: 4 kB / 0.5967 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000713/0.1837, allocations: 493 kB / 0.5972 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1838, allocations: 51.41 kB / 0.5972 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.1848, allocations: 0.6903 MB / 0.5979 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1848, allocations: 25.7 kB / 0.5979 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.185, allocations: 232.1 kB / 0.5981 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.185, allocations: 8.031 kB / 0.5981 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.185, allocations: 13.66 kB / 0.5982 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1852, allocations: 370.7 kB / 0.5985 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1853, allocations: 139.9 kB / 0.5986 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1854, allocations: 143.9 kB / 0.5988 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1856, allocations: 288.7 kB / 0.5991 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1857, allocations: 0 / 0.5991 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004561/0.1861, allocations: 353.1 kB / 0.5994 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1861, allocations: 4 kB / 0.5994 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1862, allocations: 4 kB / 0.5994 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1862, allocations: 0 / 0.5994 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1863, allocations: 3.984 kB / 0.5994 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1863, allocations: 0 / 0.5994 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1865, allocations: 36 kB / 0.5994 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1865, allocations: 0 / 0.5994 GB, free: 4.816 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.0001664/0.1867, allocations: 209.6 kB / 0.5996 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.1868, allocations: 47.47 kB / 0.5997 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.1872, allocations: 376.9 kB / 0.6 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1872, allocations: 0 / 0.6 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1872, allocations: 0 / 0.6 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1872, allocations: 4 kB / 0.6 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.1876, allocations: 441.4 kB / 0.6005 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.1877, allocations: 4 kB / 0.6005 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.1877, allocations: 0 / 0.6005 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1877, allocations: 0 / 0.6005 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1877, allocations: 0 / 0.6005 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1877, allocations: 4.031 kB / 0.6005 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1877, allocations: 0 / 0.6005 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.1882, allocations: 384.3 kB / 0.6008 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.1886, allocations: 332.3 kB / 0.6012 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.1887, allocations: 0 / 0.6012 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1889, allocations: 32 kB / 0.6012 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1889, allocations: 4 kB / 0.6012 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1889, allocations: 4.016 kB / 0.6012 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007318/0.1897, allocations: 0.5338 MB / 0.6017 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1897, allocations: 0 / 0.6017 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001125/0.1908, allocations: 379.8 kB / 0.6021 GB, free: 2.004 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.002569/0.1934, allocations: 1.525 MB / 0.6036 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.1937, allocations: 283.9 kB / 0.6038 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1937, allocations: 0 / 0.6038 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1938, allocations: 173.7 kB / 0.604 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1942, allocations: 33.11 kB / 0.604 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2495/0.4437, allocations: 7.326 MB / 0.6112 GB, free: 50 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.4439, allocations: 0.8165 MB / 0.612 GB, free: 49.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001147/0.4451, allocations: 441.8 kB / 0.6124 GB, free: 49.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.4457, allocations: 358.5 kB / 0.6128 GB, free: 49.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.883e-06/0.4457, allocations: 0 / 0.6128 GB, free: 49.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08224/0.5279, allocations: 21.31 MB / 0.6336 GB, free: 47.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.472, allocations: 19.59 kB / 0.6336 GB, free: 47.16 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)