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.0007947/0.0007948, allocations: 98.89 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008839/0.000884, allocations: 177.7 kB / 16.92 MB, free: 6.891 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6669/0.6669, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 9.062 kB / 496 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 77.54 MB / 0.5601 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001243/0.1543, allocations: 0.9965 MB / 0.5611 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.155, allocations: 439 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.1551, allocations: 0 / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.252e-05/0.1552, allocations: 0 / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.1552, allocations: 15.92 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1554, allocations: 27.95 kB / 0.5615 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.1555, allocations: 43.84 kB / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.1555, allocations: 7.938 kB / 0.5616 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.1556, allocations: 7.938 kB / 0.5616 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.1557, allocations: 19.91 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.1557, allocations: 0 / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1558, allocations: 39.95 kB / 0.5616 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.1558, allocations: 15.97 kB / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.1559, allocations: 45.58 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.156, allocations: 60.03 kB / 0.5617 GB, free: 7.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.156, allocations: 4 kB / 0.5618 GB, free: 7.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.156, allocations: 0 / 0.5618 GB, free: 7.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.156, allocations: 0 / 0.5618 GB, free: 7.145 MB / 430.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.0003097/0.1564, allocations: 347.4 kB / 0.5621 GB, free: 6.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1564, allocations: 11.97 kB / 0.5621 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.1564, allocations: 30.75 kB / 0.5621 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.1565, allocations: 4.844 kB / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1566, allocations: 168.3 kB / 0.5623 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1566, allocations: 4.375 kB / 0.5623 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-06/0.1566, allocations: 4.375 kB / 0.5623 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.1567, allocations: 51.53 kB / 0.5623 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.1567, allocations: 0 / 0.5623 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1567, allocations: 0 / 0.5623 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1568, allocations: 3.938 kB / 0.5624 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.1568, allocations: 4 kB / 0.5624 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1569, allocations: 178.5 kB / 0.5625 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/0.157, allocations: 41.16 kB / 0.5626 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.157, allocations: 21.77 kB / 0.5626 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1571, allocations: 0 / 0.5626 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1571, allocations: 38.5 kB / 0.5626 GB, free: 6.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1571, allocations: 4 kB / 0.5626 GB, free: 6.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001157/0.1572, allocations: 49.62 kB / 0.5627 GB, free: 6.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1572, allocations: 77.11 kB / 0.5627 GB, free: 5.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.1574, allocations: 140.7 kB / 0.5629 GB, free: 5.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1574, allocations: 29.7 kB / 0.5629 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1574, allocations: 84.12 kB / 0.563 GB, free: 5.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.1574, allocations: 11.91 kB / 0.563 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1575, allocations: 17.97 kB / 0.563 GB, free: 5.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.1576, allocations: 326.8 kB / 0.5633 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.1576, allocations: 23.98 kB / 0.5634 GB, free: 5.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.1576, allocations: 27.94 kB / 0.5634 GB, free: 5.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.1577, allocations: 40.84 kB / 0.5634 GB, free: 5.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1577, allocations: 0 / 0.5634 GB, free: 5.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001205/0.1578, allocations: 101.6 kB / 0.5635 GB, free: 5.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1579, allocations: 11.94 kB / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1579, allocations: 0 / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1579, allocations: 3.984 kB / 0.5635 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.1579, allocations: 11.98 kB / 0.5635 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1579, allocations: 0 / 0.5635 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.158, allocations: 11.78 kB / 0.5636 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.158, allocations: 4 kB / 0.5636 GB, free: 5.039 MB / 430.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 6.778e-05/0.1581, allocations: 117.8 kB / 0.5637 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1581, allocations: 7.844 kB / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.1581, allocations: 7.516 kB / 0.5637 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1581, allocations: 4 kB / 0.5637 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1581, allocations: 0 / 0.5637 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.1581, allocations: 4 kB / 0.5637 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.1582, allocations: 157.7 kB / 0.5638 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1582, allocations: 0 / 0.5638 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.1582, allocations: 7.938 kB / 0.5638 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1583, allocations: 0 / 0.5638 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.1583, allocations: 0 / 0.5638 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1583, allocations: 8 kB / 0.5639 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1583, allocations: 0 / 0.5639 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.316e-05/0.1584, allocations: 73.98 kB / 0.5639 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.1584, allocations: 88.95 kB / 0.564 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1584, allocations: 7.922 kB / 0.564 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.1584, allocations: 0 / 0.564 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.1585, allocations: 4 kB / 0.564 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.1585, allocations: 0 / 0.564 GB, free: 4.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.1585, allocations: 102.5 kB / 0.5641 GB, free: 4.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 0.5641 GB, free: 4.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001957/0.1587, allocations: 16.03 kB / 0.5641 GB, free: 4.348 MB / 430.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.0003686/0.1591, allocations: 0.6365 MB / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1592, allocations: 89.61 kB / 0.5648 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1593, allocations: 4.031 kB / 0.5648 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.1593, allocations: 4 kB / 0.5649 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.1594, allocations: 5.531 kB / 0.5649 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1605, allocations: 1.31 MB / 0.5661 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1607, allocations: 0.6888 MB / 0.5668 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.982e-05/0.1607, allocations: 0 / 0.5668 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1608, allocations: 23.38 kB / 0.5668 GB, free: 1.438 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1608, allocations: 3.938 kB / 0.5668 GB, free: 1.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1858, allocations: 1.49 MB / 0.5683 GB, free: 180 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.1861, allocations: 265 kB / 0.5685 GB, free: 15.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.994, allocations: 0 / 0.5685 GB, free: 15.82 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)