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.001239/0.001239, allocations: 100.1 kB / 15.88 MB, free: 12 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.001369/0.001369, allocations: 205.3 kB / 16.79 MB, free: 6.84 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.284/1.284, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6461/0.6461, allocations: 115.3 MB / 406 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 55.62 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1382, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00271/0.1409, allocations: 1.567 MB / 0.5574 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1421, allocations: 0.5967 MB / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.1422, allocations: 0 / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1423, allocations: 7.922 kB / 0.558 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1425, allocations: 23.92 kB / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.1432, allocations: 286.7 kB / 0.5583 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1436, allocations: 447.4 kB / 0.5587 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1437, allocations: 4 kB / 0.5587 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.1442, allocations: 307 kB / 0.559 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.1444, allocations: 159.4 kB / 0.5591 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1446, allocations: 16 kB / 0.5591 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.1447, allocations: 12 kB / 0.5592 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1448, allocations: 115.5 kB / 0.5593 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.145, allocations: 183 kB / 0.5594 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.1454, allocations: 418.7 kB / 0.5598 GB, free: 6.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1454, allocations: 4 kB / 0.5598 GB, free: 6.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1454, allocations: 0 / 0.5598 GB, free: 6.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1454, allocations: 0 / 0.5598 GB, free: 6.633 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.001174/0.1466, allocations: 0.8704 MB / 0.5607 GB, free: 5.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1467, allocations: 11.97 kB / 0.5607 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.1467, allocations: 38.73 kB / 0.5607 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.1468, allocations: 48.47 kB / 0.5608 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1472, allocations: 314.2 kB / 0.5611 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.1472, allocations: 28.36 kB / 0.5611 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.1473, allocations: 24.36 kB / 0.5611 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1483, allocations: 210 kB / 0.5613 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1483, allocations: 3.938 kB / 0.5613 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1484, allocations: 7.984 kB / 0.5614 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1484, allocations: 0 / 0.5614 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.1492, allocations: 103.9 kB / 0.5615 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1496, allocations: 385.2 kB / 0.5618 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1506, allocations: 174.5 kB / 0.562 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.1514, allocations: 112.8 kB / 0.5621 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1514, allocations: 0 / 0.5621 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009571/0.1524, allocations: 240.3 kB / 0.5623 GB, free: 3.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1524, allocations: 0 / 0.5623 GB, free: 3.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002606/0.155, allocations: 482.9 kB / 0.5628 GB, free: 3.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.155, allocations: 63.39 kB / 0.5628 GB, free: 3.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.1554, allocations: 413.8 kB / 0.5632 GB, free: 2.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.1555, allocations: 37.7 kB / 0.5633 GB, free: 2.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.1555, allocations: 101.3 kB / 0.5634 GB, free: 2.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1556, allocations: 31.61 kB / 0.5634 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1558, allocations: 137.2 kB / 0.5635 GB, free: 2.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.1559, allocations: 322.8 kB / 0.5638 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1561, allocations: 115.9 kB / 0.564 GB, free: 2.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1564, allocations: 169.9 kB / 0.5641 GB, free: 1.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.1568, allocations: 275.4 kB / 0.5644 GB, free: 1.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1568, allocations: 0 / 0.5644 GB, free: 1.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007935/0.1576, allocations: 492.7 kB / 0.5648 GB, free: 1.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/0.1577, allocations: 95.3 kB / 0.5649 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1577, allocations: 4 kB / 0.5649 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1577, allocations: 4 kB / 0.5649 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1578, allocations: 19.98 kB / 0.565 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1579, allocations: 7.938 kB / 0.565 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.1584, allocations: 59.89 kB / 0.565 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.1585, allocations: 63.97 kB / 0.5651 GB, free: 0.918 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.1587, allocations: 191.3 kB / 0.5653 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.1588, allocations: 43.41 kB / 0.5653 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.1588, allocations: 51.72 kB / 0.5654 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1588, allocations: 0 / 0.5654 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1588, allocations: 0 / 0.5654 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1588, allocations: 0 / 0.5654 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.161, allocations: 0.748 MB / 0.5661 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.161, allocations: 0 / 0.5661 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.1611, allocations: 11.92 kB / 0.5661 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1611, allocations: 0 / 0.5661 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.1611, allocations: 19.98 kB / 0.5661 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1611, allocations: 4 kB / 0.5661 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1611, allocations: 0 / 0.5661 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1629, allocations: 480.4 kB / 0.5666 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.1632, allocations: 200.4 kB / 0.5668 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.1633, allocations: 11.98 kB / 0.5668 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.1638, allocations: 31.97 kB / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1638, allocations: 7.984 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.1639, allocations: 55.98 kB / 0.5669 GB, free: 14.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002747/0.1642, allocations: 299 kB / 0.5672 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1642, allocations: 0 / 0.5672 GB, free: 14.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.1646, allocations: 71.98 kB / 0.5672 GB, free: 14.62 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: 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 (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.002346/0.1669, allocations: 1.021 MB / 0.5682 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1683, allocations: 440.5 kB / 0.5687 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1683, allocations: 0 / 0.5687 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.1692, allocations: 132.2 kB / 0.5688 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1695, allocations: 27.73 kB / 0.5688 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.1746, allocations: 2.885 MB / 0.5716 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.1752, allocations: 0.7748 MB / 0.5724 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.285e-05/0.1753, allocations: 17.08 kB / 0.5724 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.1754, allocations: 19.42 kB / 0.5724 GB, free: 9.121 MB / 446.1 MB Notification: Performance of SimCode: time 3.065e-06/0.1754, allocations: 0 / 0.5724 GB, free: 9.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3331/0.5085, allocations: 6.079 MB / 0.5783 GB, free: 3.043 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.5088, allocations: 186.4 kB / 0.5785 GB, free: 2.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.805, allocations: 0 / 0.5785 GB, free: 2.789 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/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)