Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_dev_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_dev_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/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8109/0.8109, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009643, allocations: 95.81 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.995e-05, allocations: 3.125 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1724, allocations: 82.3 MB / 0.6405 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6044/0.7768, allocations: 111.3 MB / 0.7492 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.7772, allocations: 100.4 kB / 0.7493 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001953/0.7792, allocations: 0.6928 MB / 0.75 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7792, allocations: 0 / 0.75 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7792, allocations: 0 / 0.75 GB, free: 27.67 MB / 0.5105 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.0002274/0.7794, allocations: 318.3 kB / 0.7503 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7795, allocations: 7.688 kB / 0.7503 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.7795, allocations: 32.77 kB / 0.7504 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.7795, allocations: 7.875 kB / 0.7504 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.347e-05/0.7796, allocations: 163 kB / 0.7505 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7796, allocations: 0 / 0.7505 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.7797, allocations: 0 / 0.7505 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.7797, allocations: 35.81 kB / 0.7506 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.7798, allocations: 0 / 0.7506 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.7798, allocations: 3.844 kB / 0.7506 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7798, allocations: 0 / 0.7506 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.7798, allocations: 0 / 0.7506 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.7801, allocations: 389.1 kB / 0.7509 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.7802, allocations: 165.1 kB / 0.7511 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.7802, allocations: 84.08 kB / 0.7512 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.7803, allocations: 75.28 kB / 0.7512 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.7803, allocations: 112.6 kB / 0.7513 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7803, allocations: 0 / 0.7513 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.876e-05/0.7804, allocations: 33.8 kB / 0.7514 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.7805, allocations: 130.6 kB / 0.7515 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.7806, allocations: 87.44 kB / 0.7516 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.7806, allocations: 25.7 kB / 0.7516 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.7806, allocations: 84.17 kB / 0.7517 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.7806, allocations: 7.969 kB / 0.7517 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.7806, allocations: 0 / 0.7517 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7808, allocations: 314.8 kB / 0.752 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.7808, allocations: 3.375 kB / 0.752 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/0.7808, allocations: 3.938 kB / 0.752 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.383e-05/0.7808, allocations: 3.781 kB / 0.752 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7808, allocations: 0 / 0.752 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.145e-05/0.7809, allocations: 31.94 kB / 0.752 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7809, allocations: 8 kB / 0.7521 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7809, allocations: 0 / 0.7521 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.781, allocations: 3.75 kB / 0.7521 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.781, allocations: 0 / 0.7521 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.781, allocations: 0 / 0.7521 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.781, allocations: 2.625 kB / 0.7521 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.781, allocations: 0 / 0.7521 GB, free: 25.44 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.7811, allocations: 184.1 kB / 0.7522 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.7812, allocations: 108.9 kB / 0.7523 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.7812, allocations: 107.4 kB / 0.7524 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-05/0.7813, allocations: 186.4 kB / 0.7526 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.557e-05/0.7814, allocations: 180.2 kB / 0.7528 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.7815, allocations: 176.3 kB / 0.753 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.7817, allocations: 407.4 kB / 0.7533 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-05/0.7817, allocations: 112.8 kB / 0.7535 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.7817, allocations: 107.9 kB / 0.7536 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.548e-05/0.7818, allocations: 176.3 kB / 0.7537 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.7819, allocations: 184 kB / 0.7539 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.503e-05/0.7819, allocations: 183.5 kB / 0.7541 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-05/0.782, allocations: 183 kB / 0.7542 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.7821, allocations: 307 kB / 0.7545 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.7822, allocations: 180.1 kB / 0.7547 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.7823, allocations: 187.8 kB / 0.7549 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.7823, allocations: 103 kB / 0.755 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.7824, allocations: 184.2 kB / 0.7552 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.7825, allocations: 102 kB / 0.7553 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.7825, allocations: 84.12 kB / 0.7553 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7825, allocations: 0 / 0.7553 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002127/0.7827, allocations: 0 / 0.7553 GB, free: 21.91 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000396/0.7831, allocations: 0.815 MB / 0.7561 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.67e-05/0.7832, allocations: 7.812 kB / 0.7561 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7832, allocations: 0 / 0.7561 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7832, allocations: 0 / 0.7561 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7835, allocations: 0.5186 MB / 0.7567 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.7838, allocations: 148.5 kB / 0.7568 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.784, allocations: 0.679 MB / 0.7575 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.784, allocations: 0 / 0.7575 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.7841, allocations: 12.47 kB / 0.7575 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.7841, allocations: 0 / 0.7575 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.7942, allocations: 0.7573 MB / 0.7582 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.7944, allocations: 216.4 kB / 0.7584 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.349/2.144, allocations: 1.719 kB / 0.7584 GB, free: 19.37 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)