Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001492/0.001492, allocations: 99.16 kB / 16.27 MB, free: 5.93 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.001505/0.001505, allocations: 190.8 kB / 17.2 MB, free: 5.574 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.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7058/0.7058, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 0.4912 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3188, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002113/0.321, allocations: 1.277 MB / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005791/0.3216, allocations: 442.7 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.3216, allocations: 1.219 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.3217, allocations: 5.188 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.3218, allocations: 9.281 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.322, allocations: 30.17 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.322, allocations: 28.38 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.3221, allocations: 2.562 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.3221, allocations: 11.39 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.3222, allocations: 15.92 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3222, allocations: 0.9375 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3223, allocations: 43.89 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.3224, allocations: 16.16 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.3224, allocations: 17.5 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3225, allocations: 54.77 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3225, allocations: 1.156 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3225, allocations: 0 / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3225, allocations: 0 / 0.5692 GB, free: 31.43 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000272/0.3228, allocations: 357.2 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3228, allocations: 14.34 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.353e-05/0.3229, allocations: 32.62 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.3229, allocations: 6.688 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.323, allocations: 173.6 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.323, allocations: 1.031 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.323, allocations: 3.656 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.3231, allocations: 46.39 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3231, allocations: 2.031 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.3231, allocations: 0 / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3232, allocations: 5.016 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.3232, allocations: 14.06 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.3233, allocations: 174.1 kB / 0.57 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.3234, allocations: 43.58 kB / 0.5701 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.3234, allocations: 19.8 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3234, allocations: 1.562 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3234, allocations: 36.12 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3235, allocations: 0 / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001352/0.3236, allocations: 55.36 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.3236, allocations: 79.42 kB / 0.5702 GB, free: 30.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.3237, allocations: 134.4 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.3237, allocations: 27.77 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.3238, allocations: 90.23 kB / 0.5705 GB, free: 30.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.3238, allocations: 11.34 kB / 0.5705 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3238, allocations: 25.95 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.3239, allocations: 319.5 kB / 0.5708 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.3239, allocations: 23.8 kB / 0.5708 GB, free: 29.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.324, allocations: 23.27 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.324, allocations: 50.47 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.324, allocations: 0.6875 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001208/0.3242, allocations: 108.6 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3242, allocations: 7.016 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.3242, allocations: 1.062 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3242, allocations: 2.094 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.3243, allocations: 3.219 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3243, allocations: 0.5156 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.3243, allocations: 7.344 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3243, allocations: 1.094 kB / 0.571 GB, free: 29.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.769e-05/0.3244, allocations: 121.6 kB / 0.5711 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.3244, allocations: 14.25 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.3244, allocations: 5.438 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3244, allocations: 2.406 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3244, allocations: 1.688 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3244, allocations: 9.125 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.267e-05/0.3245, allocations: 158.2 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3245, allocations: 1.469 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.3246, allocations: 7.078 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3246, allocations: 1.188 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3246, allocations: 3.891 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3246, allocations: 1.156 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3246, allocations: 1.094 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.3247, allocations: 72.86 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.3247, allocations: 88.25 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3247, allocations: 1.062 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.3247, allocations: 1 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.3247, allocations: 6.875 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3247, allocations: 1.219 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.3248, allocations: 100.5 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3248, allocations: 0.9062 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.325, allocations: 15.44 kB / 0.5716 GB, free: 29.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002458/0.3253, allocations: 0.6315 MB / 0.5722 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.3254, allocations: 83.12 kB / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3254, allocations: 0.625 kB / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.3254, allocations: 11.08 kB / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3256, allocations: 3.828 kB / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.3264, allocations: 1.308 MB / 0.5736 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.487e-05/0.3265, allocations: 0.6854 MB / 0.5743 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.3265, allocations: 2.047 kB / 0.5743 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.3265, allocations: 17.45 kB / 0.5743 GB, free: 26.48 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3265, allocations: 0.7812 kB / 0.5743 GB, free: 26.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.3427, allocations: 1.684 MB / 0.5759 GB, free: 26.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.331, allocations: 11.92 kB / 0.576 GB, free: 26.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)