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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001238/0.001238, allocations: 198 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.228/1.228, 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/IBPSA 4.0.0-master/package.mo): time 0.6641/0.6641, allocations: 115.3 MB / 406.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 76.17 MB / 0.5561 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00167/0.3128, allocations: 0.5992 MB / 0.5566 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.3135, allocations: 0.7764 MB / 0.5574 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.3136, allocations: 3.219 kB / 0.5574 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.3136, allocations: 0 / 0.5574 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.3136, allocations: 0 / 0.5574 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3139, allocations: 23.94 kB / 0.5574 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.277e-05/0.3139, allocations: 0 / 0.5574 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.3139, allocations: 1.594 kB / 0.5574 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.314, allocations: 2.469 kB / 0.5574 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3141, allocations: 15.97 kB / 0.5575 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.3141, allocations: 6.375 kB / 0.5575 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.3141, allocations: 0 / 0.5575 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-06/0.3141, allocations: 1.281 kB / 0.5575 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.3142, allocations: 3.984 kB / 0.5575 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.999e-05/0.3142, allocations: 0.5156 kB / 0.5575 GB, free: 34.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3142, allocations: 6.531 kB / 0.5575 GB, free: 34.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3142, allocations: 0.6875 kB / 0.5575 GB, free: 34.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3142, allocations: 0 / 0.5575 GB, free: 34.59 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.0001955/0.3144, allocations: 310.6 kB / 0.5578 GB, free: 34.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3145, allocations: 8.875 kB / 0.5578 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.124e-05/0.3145, allocations: 31.69 kB / 0.5578 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.644e-05/0.3145, allocations: 0.9375 kB / 0.5578 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.849e-05/0.3146, allocations: 161.6 kB / 0.558 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3146, allocations: 6.703 kB / 0.558 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.3146, allocations: 1.469 kB / 0.558 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.3147, allocations: 34.02 kB / 0.558 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3147, allocations: 3.938 kB / 0.558 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3147, allocations: 1.609 kB / 0.558 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.3147, allocations: 0.5312 kB / 0.558 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.3147, allocations: 3.375 kB / 0.558 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.3149, allocations: 377.2 kB / 0.5584 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.315, allocations: 182.1 kB / 0.5585 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.315, allocations: 80.14 kB / 0.5586 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.315, allocations: 75.78 kB / 0.5587 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.315, allocations: 109 kB / 0.5588 GB, free: 33.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.315, allocations: 0 / 0.5588 GB, free: 33.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.73e-05/0.3151, allocations: 29.86 kB / 0.5588 GB, free: 33.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3151, allocations: 130.6 kB / 0.5589 GB, free: 32.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.3152, allocations: 97.23 kB / 0.559 GB, free: 32.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-06/0.3152, allocations: 27.48 kB / 0.5591 GB, free: 32.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.533e-05/0.3152, allocations: 86.56 kB / 0.5592 GB, free: 32.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3152, allocations: 0 / 0.5592 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.3153, allocations: 11.56 kB / 0.5592 GB, free: 32.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.3153, allocations: 313.1 kB / 0.5595 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-06/0.3153, allocations: 2.812 kB / 0.5595 GB, free: 32.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-06/0.3153, allocations: 0.5156 kB / 0.5595 GB, free: 32.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.616e-05/0.3153, allocations: 8.828 kB / 0.5595 GB, free: 32.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3153, allocations: 3.938 kB / 0.5595 GB, free: 32.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.029e-05/0.3154, allocations: 40.91 kB / 0.5595 GB, free: 32.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3154, allocations: 5.047 kB / 0.5595 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3155, allocations: 9.391 kB / 0.5595 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3155, allocations: 0 / 0.5595 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.3155, allocations: 0.9844 kB / 0.5595 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3155, allocations: 4 kB / 0.5595 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-06/0.3155, allocations: 0 / 0.5595 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.3155, allocations: 2.688 kB / 0.5595 GB, free: 32.32 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.652e-05/0.3156, allocations: 194.4 kB / 0.5597 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3156, allocations: 102.5 kB / 0.5598 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.3157, allocations: 112.6 kB / 0.5599 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.3157, allocations: 178.3 kB / 0.5601 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.3157, allocations: 185.9 kB / 0.5603 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.3157, allocations: 181.3 kB / 0.5604 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3159, allocations: 402 kB / 0.5608 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.3159, allocations: 108.6 kB / 0.5609 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.3159, allocations: 105.7 kB / 0.561 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.313e-05/0.3159, allocations: 181.5 kB / 0.5612 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.316, allocations: 180.2 kB / 0.5614 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.139e-05/0.316, allocations: 184.1 kB / 0.5616 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/0.316, allocations: 185.4 kB / 0.5617 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.374e-05/0.3161, allocations: 311.4 kB / 0.562 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.3161, allocations: 182.9 kB / 0.5622 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3161, allocations: 178.3 kB / 0.5624 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.3162, allocations: 115.7 kB / 0.5625 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3162, allocations: 177.4 kB / 0.5627 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3162, allocations: 111.1 kB / 0.5628 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.3163, allocations: 81.62 kB / 0.5628 GB, free: 28.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3163, allocations: 0 / 0.5628 GB, free: 28.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.3165, allocations: 0 / 0.5628 GB, free: 28.78 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.0001907/0.3167, allocations: 0.8124 MB / 0.5636 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.692e-05/0.3167, allocations: 3.594 kB / 0.5636 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3168, allocations: 0.7188 kB / 0.5636 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.3168, allocations: 3.938 kB / 0.5636 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.317, allocations: 458.2 kB / 0.5641 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.3172, allocations: 182.2 kB / 0.5642 GB, free: 27.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.703e-05/0.3173, allocations: 0.669 MB / 0.5649 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.606e-06/0.3174, allocations: 0 / 0.5649 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.3174, allocations: 10.31 kB / 0.5649 GB, free: 26.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3174, allocations: 0 / 0.5649 GB, free: 26.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.3274, allocations: 0.8448 MB / 0.5657 GB, free: 26.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.3276, allocations: 270.3 kB / 0.566 GB, free: 26.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.904, allocations: 2.766 kB / 0.566 GB, free: 26.08 MB / 446.1 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/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)