Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_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.001244/0.001244, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5027/0.5027, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009515/0.0009517, allocations: 99.94 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003115, allocations: 8 kB / 0.4984 GB, free: 42.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 72.31 MB / 0.569 GB, free: 1.773 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.6137, allocations: 101.6 MB / 0.6682 GB, free: 2.762 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6141, allocations: 103.9 kB / 0.6683 GB, free: 2.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001712/0.6158, allocations: 0.6946 MB / 0.6689 GB, free: 1.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6158, allocations: 0 / 0.6689 GB, free: 1.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.6158, allocations: 0 / 0.6689 GB, free: 1.98 MB / 458.7 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.0002511/0.6161, allocations: 325.5 kB / 0.6693 GB, free: 1.617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.6161, allocations: 12.03 kB / 0.6693 GB, free: 1.605 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.6162, allocations: 30.56 kB / 0.6693 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.6162, allocations: 4.828 kB / 0.6693 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.6163, allocations: 163.1 kB / 0.6695 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.6163, allocations: 0 / 0.6695 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.6163, allocations: 0 / 0.6695 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.6164, allocations: 33.64 kB / 0.6695 GB, free: 1.324 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6165, allocations: 4 kB / 0.6695 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6165, allocations: 4 kB / 0.6695 GB, free: 1.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6165, allocations: 3.953 kB / 0.6695 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.6165, allocations: 0 / 0.6695 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.6168, allocations: 376.1 kB / 0.6699 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.6169, allocations: 173.1 kB / 0.67 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.6169, allocations: 83.22 kB / 0.6701 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.617, allocations: 113.1 kB / 0.6702 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.617, allocations: 3.938 kB / 0.6702 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.341e-05/0.617, allocations: 29.66 kB / 0.6702 GB, free: 488 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.6171, allocations: 126.7 kB / 0.6704 GB, free: 348 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.6172, allocations: 88.91 kB / 0.6705 GB, free: 252 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.6172, allocations: 29.83 kB / 0.6705 GB, free: 216 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.6172, allocations: 88.14 kB / 0.6706 GB, free: 124 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.6172, allocations: 0 / 0.6706 GB, free: 124 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-06/0.6172, allocations: 0 / 0.6706 GB, free: 124 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6174, allocations: 314.8 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-06/0.6174, allocations: 3.938 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-06/0.6174, allocations: 0 / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.8e-05/0.6174, allocations: 4 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6174, allocations: 4.062 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.337e-05/0.6175, allocations: 29.7 kB / 0.6709 GB, free: 15.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6175, allocations: 4 kB / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6175, allocations: 0 / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6176, allocations: 4 kB / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.122e-05/0.6176, allocations: 3.953 kB / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.6176, allocations: 0 / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.6176, allocations: 0 / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.6176, allocations: 0 / 0.6709 GB, free: 15.75 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.6177, allocations: 197.1 kB / 0.6711 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.6178, allocations: 104.9 kB / 0.6712 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.6178, allocations: 104.1 kB / 0.6713 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/0.6179, allocations: 180.2 kB / 0.6715 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-05/0.6179, allocations: 184.2 kB / 0.6717 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/0.618, allocations: 183.2 kB / 0.6718 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.6182, allocations: 405.2 kB / 0.6722 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/0.6182, allocations: 105 kB / 0.6723 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.6183, allocations: 104.9 kB / 0.6724 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-05/0.6183, allocations: 180.7 kB / 0.6726 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.6184, allocations: 184.2 kB / 0.6728 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.6184, allocations: 196.2 kB / 0.6729 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.52e-05/0.6185, allocations: 176.3 kB / 0.6731 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.6186, allocations: 307.7 kB / 0.6734 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.6187, allocations: 182.1 kB / 0.6736 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.6187, allocations: 180.2 kB / 0.6738 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.6188, allocations: 105 kB / 0.6739 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.6189, allocations: 188.2 kB / 0.674 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.6189, allocations: 104.4 kB / 0.6741 GB, free: 12.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.6189, allocations: 79.22 kB / 0.6742 GB, free: 12.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6189, allocations: 0 / 0.6742 GB, free: 12.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.6192, allocations: 7.953 kB / 0.6742 GB, free: 12.15 MB / 474.7 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 (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.0003348/0.6195, allocations: 0.8088 MB / 0.675 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.014e-05/0.6196, allocations: 4 kB / 0.675 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6196, allocations: 0 / 0.675 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.6196, allocations: 0 / 0.675 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.6199, allocations: 0.5294 MB / 0.6755 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.6202, allocations: 171.6 kB / 0.6757 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.6204, allocations: 0.6731 MB / 0.6763 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.6204, allocations: 0 / 0.6763 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.6205, allocations: 7.438 kB / 0.6764 GB, free: 9.859 MB / 474.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6205, allocations: 0 / 0.6764 GB, free: 9.859 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.631, allocations: 0.7576 MB / 0.6771 GB, free: 9.328 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.6313, allocations: 245 kB / 0.6773 GB, free: 9.051 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.091, allocations: 0 / 0.6773 GB, free: 9.051 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)