Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.007608/0.007608, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001766/0.001767, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7063/0.7063, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4036, allocations: 80.2 MB / 0.6592 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001937/0.4056, allocations: 1.286 MB / 0.6605 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000674/0.4063, allocations: 446 kB / 0.6609 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.4063, allocations: 0 / 0.6609 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.607e-05/0.4064, allocations: 4.734 kB / 0.6609 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.4065, allocations: 6.828 kB / 0.6609 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.4068, allocations: 36.73 kB / 0.661 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.4069, allocations: 21.55 kB / 0.661 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.4069, allocations: 3.234 kB / 0.661 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.4069, allocations: 23.41 kB / 0.661 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.407, allocations: 11.69 kB / 0.661 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.407, allocations: 0 / 0.661 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4072, allocations: 39.55 kB / 0.661 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.4072, allocations: 16.86 kB / 0.6611 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.4073, allocations: 11.38 kB / 0.6611 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.4074, allocations: 63.25 kB / 0.6611 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4074, allocations: 0 / 0.6611 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4074, allocations: 3.938 kB / 0.6611 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.4074, allocations: 0 / 0.6611 GB, free: 8.617 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003305/0.4078, allocations: 353.1 kB / 0.6615 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4078, allocations: 10.34 kB / 0.6615 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.4079, allocations: 31.5 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.4079, allocations: 6.562 kB / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.408, allocations: 175 kB / 0.6617 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.408, allocations: 4.125 kB / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.408, allocations: 2 kB / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.4081, allocations: 50.14 kB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4081, allocations: 4 kB / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.4082, allocations: 0 / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4082, allocations: 1.312 kB / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.4082, allocations: 9.672 kB / 0.6618 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.4083, allocations: 176.4 kB / 0.6619 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.4084, allocations: 41.88 kB / 0.662 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.4084, allocations: 26.83 kB / 0.662 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.4084, allocations: 1.531 kB / 0.662 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.4085, allocations: 31.27 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4085, allocations: 5.625 kB / 0.662 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/0.4086, allocations: 48.92 kB / 0.6621 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.4086, allocations: 82.11 kB / 0.6622 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.4087, allocations: 138.5 kB / 0.6623 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.4087, allocations: 31.14 kB / 0.6623 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.4088, allocations: 82.61 kB / 0.6624 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.4088, allocations: 9.766 kB / 0.6624 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.4088, allocations: 26.05 kB / 0.6624 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.4089, allocations: 318.7 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.4089, allocations: 22.25 kB / 0.6628 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.409, allocations: 32.91 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.409, allocations: 47.08 kB / 0.6628 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.409, allocations: 5.219 kB / 0.6628 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001149/0.4092, allocations: 100.3 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4092, allocations: 6.094 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.4092, allocations: 1.469 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4092, allocations: 0.7031 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.4093, allocations: 2.719 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4093, allocations: 2.109 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.4093, allocations: 5.5 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4093, allocations: 5.531 kB / 0.663 GB, free: 6.789 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 (3): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 5.997e-05/0.4094, allocations: 125.5 kB / 0.6631 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.4094, allocations: 5.312 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.4094, allocations: 6.438 kB / 0.6631 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4094, allocations: 3.938 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4094, allocations: 1.219 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4094, allocations: 0 / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.4095, allocations: 166 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4095, allocations: 2.266 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.4096, allocations: 6.344 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4096, allocations: 1.531 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.4096, allocations: 0.5625 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.4096, allocations: 5.188 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4096, allocations: 2.188 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.279e-05/0.4097, allocations: 70.67 kB / 0.6633 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.4097, allocations: 89.05 kB / 0.6634 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.4097, allocations: 5.25 kB / 0.6634 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.4097, allocations: 0.5156 kB / 0.6634 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.4097, allocations: 5.797 kB / 0.6634 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.4097, allocations: 1.375 kB / 0.6634 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.4098, allocations: 101.4 kB / 0.6635 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4098, allocations: 0 / 0.6635 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001906/0.41, allocations: 19.97 kB / 0.6635 GB, free: 6.168 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002803/0.4103, allocations: 0.6287 MB / 0.6642 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.4104, allocations: 91.44 kB / 0.6642 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4104, allocations: 0 / 0.6642 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.4105, allocations: 6.094 kB / 0.6643 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.4106, allocations: 5.281 kB / 0.6643 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008871/0.4115, allocations: 1.307 MB / 0.6655 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.4116, allocations: 0.6857 MB / 0.6662 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.4117, allocations: 0.5156 kB / 0.6662 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.4117, allocations: 17.98 kB / 0.6662 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.4117, allocations: 1.656 kB / 0.6662 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.4308, allocations: 1.715 MB / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.672, allocations: 6.094 kB / 0.6679 GB, free: 2.852 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)