Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.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.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",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.0007086/0.0007086, allocations: 93.17 kB / 15.7 MB, free: 472 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.0007368/0.0007368, allocations: 174.4 kB / 16.58 MB, free: 5.938 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.179/1.179, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.596/0.596, allocations: 113.7 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001232/0.1209, allocations: 1.18 MB / 0.558 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007166/0.1216, allocations: 411.2 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1217, allocations: 0 / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.1217, allocations: 3.938 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.1218, allocations: 19.91 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.1224, allocations: 226.5 kB / 0.5587 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1226, allocations: 251.5 kB / 0.5589 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.1226, allocations: 8 kB / 0.5589 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1229, allocations: 227.6 kB / 0.5591 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1231, allocations: 143.7 kB / 0.5593 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.1232, allocations: 8 kB / 0.5593 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.1232, allocations: 12 kB / 0.5593 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.1233, allocations: 83.77 kB / 0.5594 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.1234, allocations: 65.58 kB / 0.5594 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1236, allocations: 203.8 kB / 0.5596 GB, free: 8.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1236, allocations: 0 / 0.5596 GB, free: 8.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1236, allocations: 0 / 0.5596 GB, free: 8.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1236, allocations: 4 kB / 0.5596 GB, free: 8.809 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007238/0.1243, allocations: 0.6643 MB / 0.5603 GB, free: 8.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1244, allocations: 12.03 kB / 0.5603 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1244, allocations: 38.55 kB / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1245, allocations: 31.72 kB / 0.5604 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1247, allocations: 250.5 kB / 0.5606 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.1248, allocations: 12 kB / 0.5606 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.1248, allocations: 23.95 kB / 0.5606 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.1256, allocations: 213.4 kB / 0.5608 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1256, allocations: 0 / 0.5608 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1256, allocations: 3.938 kB / 0.5608 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1256, allocations: 0 / 0.5608 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.1263, allocations: 111.9 kB / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.1265, allocations: 317.3 kB / 0.5612 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.1274, allocations: 182.6 kB / 0.5614 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.128, allocations: 125 kB / 0.5615 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.128, allocations: 4 kB / 0.5615 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007274/0.1287, allocations: 223.2 kB / 0.5618 GB, free: 6.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1287, allocations: 0 / 0.5618 GB, free: 6.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001963/0.1307, allocations: 490.7 kB / 0.5622 GB, free: 5.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1308, allocations: 59.41 kB / 0.5623 GB, free: 5.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.131, allocations: 287 kB / 0.5626 GB, free: 5.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.131, allocations: 41.69 kB / 0.5626 GB, free: 5.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1311, allocations: 89.14 kB / 0.5627 GB, free: 5.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1311, allocations: 35.52 kB / 0.5627 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.1312, allocations: 8 kB / 0.5627 GB, free: 5.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.1313, allocations: 322.8 kB / 0.563 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.1314, allocations: 83.94 kB / 0.5631 GB, free: 4.988 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1316, allocations: 142.5 kB / 0.5632 GB, free: 4.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1318, allocations: 147.3 kB / 0.5634 GB, free: 4.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1318, allocations: 0 / 0.5634 GB, free: 4.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005516/0.1324, allocations: 394.3 kB / 0.5638 GB, free: 4.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.1325, allocations: 75.39 kB / 0.5638 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1325, allocations: 11.92 kB / 0.5638 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1325, allocations: 3.938 kB / 0.5638 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1326, allocations: 23.92 kB / 0.5639 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1327, allocations: 11.94 kB / 0.5639 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.133, allocations: 67.94 kB / 0.5639 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.1331, allocations: 43.98 kB / 0.564 GB, free: 4.023 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000151/0.1333, allocations: 169.7 kB / 0.5641 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1333, allocations: 27.7 kB / 0.5642 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1334, allocations: 26.3 kB / 0.5642 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1334, allocations: 4 kB / 0.5642 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1334, allocations: 0 / 0.5642 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1334, allocations: 7.953 kB / 0.5642 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.1351, allocations: 0.709 MB / 0.5649 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1351, allocations: 0 / 0.5649 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.1351, allocations: 7.984 kB / 0.5649 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1351, allocations: 0 / 0.5649 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.1352, allocations: 19.94 kB / 0.5649 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1352, allocations: 3.984 kB / 0.5649 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1352, allocations: 4 kB / 0.5649 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1365, allocations: 463.9 kB / 0.5654 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1367, allocations: 168.6 kB / 0.5655 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.1368, allocations: 12 kB / 0.5656 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.1372, allocations: 39.92 kB / 0.5656 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.1372, allocations: 7.984 kB / 0.5656 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.1372, allocations: 47.97 kB / 0.5656 GB, free: 2.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1374, allocations: 205.9 kB / 0.5658 GB, free: 2.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 0.5658 GB, free: 2.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1377, allocations: 48 kB / 0.5659 GB, free: 1.98 MB / 430.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: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001628/0.1393, allocations: 1.013 MB / 0.5669 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009298/0.1403, allocations: 382.6 kB / 0.5672 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1403, allocations: 0 / 0.5672 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.1409, allocations: 133.2 kB / 0.5674 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1412, allocations: 24.59 kB / 0.5674 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.1433, allocations: 1.187 MB / 0.5686 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1436, allocations: 0.7439 MB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.1436, allocations: 13.08 kB / 0.5693 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1437, allocations: 23.44 kB / 0.5693 GB, free: 14.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1437, allocations: 0 / 0.5693 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.1566, allocations: 4.546 MB / 0.5738 GB, free: 9.938 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.1568, allocations: 175 kB / 0.5739 GB, free: 9.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.645, allocations: 0 / 0.5739 GB, free: 9.699 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) Environment - environmentSimulation: