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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.00134/0.00134, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7825/0.7825, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.09 kB / 0.5019 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4162, allocations: 80.19 MB / 0.5803 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001728/0.418, allocations: 0.6024 MB / 0.5808 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007669/0.4188, allocations: 0.7782 MB / 0.5816 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.4188, allocations: 5.219 kB / 0.5816 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.4189, allocations: 0.6562 kB / 0.5816 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.4189, allocations: 0 / 0.5816 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.4191, allocations: 20.25 kB / 0.5816 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.037e-05/0.4192, allocations: 1.188 kB / 0.5816 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.4193, allocations: 1.062 kB / 0.5816 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.4193, allocations: 4.25 kB / 0.5816 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.4194, allocations: 24.16 kB / 0.5817 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.4194, allocations: 3.938 kB / 0.5817 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-06/0.4194, allocations: 0 / 0.5817 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.4195, allocations: 0.8438 kB / 0.5817 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.4195, allocations: 5.312 kB / 0.5817 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.891e-05/0.4195, allocations: 0.7188 kB / 0.5817 GB, free: 25.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4195, allocations: 0 / 0.5817 GB, free: 25.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4195, allocations: 5.922 kB / 0.5817 GB, free: 25.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.4195, allocations: 0 / 0.5817 GB, free: 25.93 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.0002247/0.4198, allocations: 307.7 kB / 0.582 GB, free: 25.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4198, allocations: 9.75 kB / 0.582 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.4199, allocations: 2.156 kB / 0.582 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.446e-05/0.4199, allocations: 160.4 kB / 0.5821 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4199, allocations: 384 / 0.5821 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.42, allocations: 3.25 kB / 0.5821 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.4201, allocations: 35.12 kB / 0.5822 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.4201, allocations: 0 / 0.5822 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.4201, allocations: 3 kB / 0.5822 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4201, allocations: 3.984 kB / 0.5822 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.4201, allocations: 5.5 kB / 0.5822 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.4203, allocations: 378.4 kB / 0.5825 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.4204, allocations: 171.7 kB / 0.5827 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.4204, allocations: 85.34 kB / 0.5828 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4204, allocations: 76.09 kB / 0.5829 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4205, allocations: 108.5 kB / 0.583 GB, free: 24.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.4205, allocations: 3.938 kB / 0.583 GB, free: 24.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.737e-05/0.4205, allocations: 30.67 kB / 0.583 GB, free: 24.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4206, allocations: 127.8 kB / 0.5831 GB, free: 24.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.276e-05/0.4206, allocations: 94.98 kB / 0.5832 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-06/0.4206, allocations: 25.7 kB / 0.5832 GB, free: 24.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.738e-05/0.4207, allocations: 85.67 kB / 0.5833 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.4207, allocations: 0 / 0.5833 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.4207, allocations: 15.22 kB / 0.5833 GB, free: 24.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.4207, allocations: 319.6 kB / 0.5836 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.4208, allocations: 1.344 kB / 0.5836 GB, free: 23.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.4208, allocations: 5.781 kB / 0.5836 GB, free: 23.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.4208, allocations: 11.08 kB / 0.5836 GB, free: 23.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4208, allocations: 5.125 kB / 0.5837 GB, free: 23.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.911e-05/0.4209, allocations: 35.45 kB / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4209, allocations: 5.406 kB / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4209, allocations: 0 / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4209, allocations: 2.219 kB / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.421, allocations: 1.219 kB / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.421, allocations: 1.438 kB / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.421, allocations: 6.031 kB / 0.5837 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.421, allocations: 3.984 kB / 0.5837 GB, free: 23.69 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: 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.987e-05/0.4211, allocations: 186.5 kB / 0.5839 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.4211, allocations: 106.9 kB / 0.584 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.4211, allocations: 105.8 kB / 0.5841 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.4212, allocations: 178.6 kB / 0.5843 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.4212, allocations: 191.1 kB / 0.5844 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.4212, allocations: 177.4 kB / 0.5846 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.4214, allocations: 402.9 kB / 0.585 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.4214, allocations: 102.5 kB / 0.5851 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.4214, allocations: 106.8 kB / 0.5852 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/0.4214, allocations: 185.4 kB / 0.5854 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.4215, allocations: 178.5 kB / 0.5855 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.67e-05/0.4215, allocations: 182.1 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.065e-05/0.4215, allocations: 177.9 kB / 0.5859 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.06e-05/0.4216, allocations: 313.2 kB / 0.5862 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.4216, allocations: 179.8 kB / 0.5864 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.4217, allocations: 186 kB / 0.5865 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.4217, allocations: 105.8 kB / 0.5866 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.4217, allocations: 182.7 kB / 0.5868 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4218, allocations: 110.2 kB / 0.5869 GB, free: 20.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.4218, allocations: 77.22 kB / 0.587 GB, free: 20.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4218, allocations: 2.25 kB / 0.587 GB, free: 20.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.422, allocations: 1.156 kB / 0.587 GB, free: 20.14 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 9.301e-05/0.4221, allocations: 178.7 kB / 0.5872 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.66e-05/0.4222, allocations: 3.219 kB / 0.5872 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4222, allocations: 0 / 0.5872 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.4222, allocations: 5.719 kB / 0.5872 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.4224, allocations: 463.1 kB / 0.5876 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000141/0.4226, allocations: 180.4 kB / 0.5878 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.459e-05/0.4227, allocations: 0.6698 MB / 0.5884 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.4227, allocations: 8.562 kB / 0.5884 GB, free: 18.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4227, allocations: 5.281 kB / 0.5884 GB, free: 18.61 MB / 446.1 MB Notification: Performance of Templates: time 0.001279/0.424, allocations: 330.2 kB / 0.5888 GB, free: 18.46 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)