Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001401/0.001401, allocations: 108 kB / 15.61 MB, free: 148 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.001746/0.001746, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7204/0.7204, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.17 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3802, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001698/0.3819, allocations: 0.5427 MB / 0.5808 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006761/0.3826, allocations: 0.7783 MB / 0.5815 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.3826, allocations: 0 / 0.5815 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.3826, allocations: 1.125 kB / 0.5815 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.667e-06/0.3827, allocations: 0 / 0.5815 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.3829, allocations: 14.34 kB / 0.5815 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.03e-05/0.3829, allocations: 6.219 kB / 0.5815 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.3829, allocations: 1.703 kB / 0.5815 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.383, allocations: 4.938 kB / 0.5816 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3831, allocations: 23.98 kB / 0.5816 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-06/0.3831, allocations: 0 / 0.5816 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/0.3831, allocations: 0 / 0.5816 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-06/0.3831, allocations: 0 / 0.5816 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.304e-05/0.3831, allocations: 1.062 kB / 0.5816 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.586e-05/0.3832, allocations: 3.938 kB / 0.5816 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3832, allocations: 5.125 kB / 0.5816 GB, free: 3.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3832, allocations: 0 / 0.5816 GB, free: 3.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3832, allocations: 0 / 0.5816 GB, free: 3.633 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.0001538/0.3833, allocations: 316.9 kB / 0.5819 GB, free: 3.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3834, allocations: 9.938 kB / 0.5819 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.3834, allocations: 30.75 kB / 0.5819 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.695e-05/0.3834, allocations: 1.875 kB / 0.5819 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.446e-05/0.3835, allocations: 161.7 kB / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3835, allocations: 1.156 kB / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-06/0.3835, allocations: 1.5 kB / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.815e-05/0.3836, allocations: 35.25 kB / 0.5821 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.3836, allocations: 0.7812 kB / 0.5821 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.3836, allocations: 0.6094 kB / 0.5821 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3836, allocations: 1.25 kB / 0.5821 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.353e-05/0.3836, allocations: 0.875 kB / 0.5821 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3838, allocations: 384.2 kB / 0.5825 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.3838, allocations: 170 kB / 0.5826 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.3838, allocations: 81.92 kB / 0.5827 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.3839, allocations: 75.28 kB / 0.5828 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3839, allocations: 111.7 kB / 0.5829 GB, free: 2.137 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.3839, allocations: 0 / 0.5829 GB, free: 2.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.15e-05/0.384, allocations: 39.39 kB / 0.5829 GB, free: 2.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.384, allocations: 131.6 kB / 0.5831 GB, free: 1.953 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.497e-05/0.384, allocations: 96.23 kB / 0.5832 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-06/0.384, allocations: 26.95 kB / 0.5832 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.295e-05/0.3841, allocations: 80.14 kB / 0.5833 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.3841, allocations: 0 / 0.5833 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.3841, allocations: 16.33 kB / 0.5833 GB, free: 1.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.3841, allocations: 316.4 kB / 0.5836 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-06/0.3841, allocations: 4.812 kB / 0.5836 GB, free: 1.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.3841, allocations: 0.9688 kB / 0.5836 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.721e-05/0.3842, allocations: 7.484 kB / 0.5836 GB, free: 1.391 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3842, allocations: 0.8438 kB / 0.5836 GB, free: 1.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.816e-05/0.3842, allocations: 35.86 kB / 0.5836 GB, free: 1.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.3843, allocations: 4.781 kB / 0.5836 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.3843, allocations: 0.7812 kB / 0.5836 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3843, allocations: 0.6094 kB / 0.5836 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/0.3843, allocations: 6.219 kB / 0.5836 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3843, allocations: 0.6562 kB / 0.5836 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.3844, allocations: 1.469 kB / 0.5836 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.3844, allocations: 0 / 0.5836 GB, free: 1.352 MB / 430.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: 1 (i) * 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 4.437e-05/0.3844, allocations: 196.8 kB / 0.5838 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3844, allocations: 109.8 kB / 0.5839 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.3845, allocations: 109.6 kB / 0.584 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.3845, allocations: 181.7 kB / 0.5842 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.3845, allocations: 182.4 kB / 0.5844 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.3845, allocations: 177.5 kB / 0.5846 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3847, allocations: 408.5 kB / 0.5849 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.3847, allocations: 107.6 kB / 0.585 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.3848, allocations: 105.6 kB / 0.5851 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-05/0.3849, allocations: 181.6 kB / 0.5853 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.3849, allocations: 178.5 kB / 0.5855 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.946e-05/0.385, allocations: 185.8 kB / 0.5857 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.87e-05/0.385, allocations: 178.3 kB / 0.5858 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3852, allocations: 313.3 kB / 0.5861 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.3852, allocations: 184.5 kB / 0.5863 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.3853, allocations: 181.8 kB / 0.5865 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.3854, allocations: 106.4 kB / 0.5866 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.3855, allocations: 178.5 kB / 0.5868 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.3855, allocations: 111.2 kB / 0.5869 GB, free: 13.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.3855, allocations: 76.84 kB / 0.5869 GB, free: 13.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3855, allocations: 0 / 0.5869 GB, free: 13.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.3857, allocations: 0.875 kB / 0.5869 GB, free: 13.79 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 (0): * Single equations (assignments): 0 * 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.0003686/0.3861, allocations: 0.8124 MB / 0.5877 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.255e-05/0.3862, allocations: 6.375 kB / 0.5877 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3862, allocations: 0 / 0.5877 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.3862, allocations: 5.812 kB / 0.5877 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3865, allocations: 458.6 kB / 0.5882 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.3868, allocations: 183.5 kB / 0.5884 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3871, allocations: 0.6696 MB / 0.589 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.145e-05/0.3871, allocations: 1.688 kB / 0.589 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.3871, allocations: 7.438 kB / 0.589 GB, free: 11.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3871, allocations: 0 / 0.589 GB, free: 11.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.4108, allocations: 0.9211 MB / 0.5899 GB, free: 11.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.088/9.499, allocations: 13.22 kB / 0.5899 GB, free: 11.31 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)