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.001164/0.001164, allocations: 106.1 kB / 16.4 MB, free: 6.504 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.00117/0.00117, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.558/1.558, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.746/0.746, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.41 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1633, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00276/0.1661, allocations: 1.504 MB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1674, allocations: 0.5324 MB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.1675, allocations: 8 kB / 0.6335 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.1676, allocations: 7.875 kB / 0.6336 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1678, allocations: 27.84 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.1686, allocations: 313.8 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.1692, allocations: 0.4994 MB / 0.6344 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.1693, allocations: 8 kB / 0.6344 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.1697, allocations: 283.6 kB / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.1701, allocations: 147.5 kB / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1703, allocations: 24 kB / 0.6348 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.1703, allocations: 28 kB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1705, allocations: 119.6 kB / 0.635 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.1708, allocations: 183.1 kB / 0.6351 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.1713, allocations: 426.3 kB / 0.6355 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1713, allocations: 0 / 0.6355 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1713, allocations: 0 / 0.6355 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1713, allocations: 0 / 0.6355 GB, free: 0.8594 MB / 478.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.001795/0.1731, allocations: 0.8703 MB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.1732, allocations: 15.97 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.1733, allocations: 38.73 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1735, allocations: 52.47 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.1739, allocations: 314.3 kB / 0.6368 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.174, allocations: 16.36 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.1741, allocations: 24.38 kB / 0.6368 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1752, allocations: 214 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1752, allocations: 3.938 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.1752, allocations: 4 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1752, allocations: 0 / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.176, allocations: 99.86 kB / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1765, allocations: 393.2 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1776, allocations: 181.5 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.1783, allocations: 108.8 kB / 0.6378 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1784, allocations: 4 kB / 0.6378 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009226/0.1793, allocations: 227 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.1793, allocations: 0 / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002561/0.1819, allocations: 487.7 kB / 0.6385 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.182, allocations: 67.39 kB / 0.6385 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.1824, allocations: 409.9 kB / 0.6389 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.1824, allocations: 41.69 kB / 0.639 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.1825, allocations: 93.36 kB / 0.6391 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.1826, allocations: 43.53 kB / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.1828, allocations: 125.2 kB / 0.6392 GB, free: 12.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1829, allocations: 322.8 kB / 0.6395 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.1832, allocations: 115.9 kB / 0.6396 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1834, allocations: 182.4 kB / 0.6398 GB, free: 12.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1838, allocations: 270.9 kB / 0.6401 GB, free: 11.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1838, allocations: 0 / 0.6401 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008012/0.1846, allocations: 0.491 MB / 0.6405 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.1847, allocations: 91.31 kB / 0.6406 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1847, allocations: 0 / 0.6406 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1848, allocations: 4 kB / 0.6406 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1849, allocations: 24.17 kB / 0.6407 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.185, allocations: 3.938 kB / 0.6407 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.1855, allocations: 55.86 kB / 0.6407 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.1856, allocations: 59.97 kB / 0.6408 GB, free: 11.14 MB / 494.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.0002201/0.1858, allocations: 201.2 kB / 0.641 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.1859, allocations: 47.41 kB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.1859, allocations: 43.73 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1859, allocations: 0 / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.186, allocations: 4 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.186, allocations: 7.922 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.1882, allocations: 0.7447 MB / 0.6418 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1882, allocations: 0 / 0.6418 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.1883, allocations: 11.92 kB / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1883, allocations: 0 / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.1883, allocations: 19.98 kB / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1884, allocations: 0 / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1884, allocations: 4 kB / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1902, allocations: 471.2 kB / 0.6423 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.1904, allocations: 200.4 kB / 0.6425 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.1905, allocations: 15.98 kB / 0.6425 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.191, allocations: 31.97 kB / 0.6425 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1911, allocations: 7.984 kB / 0.6425 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.1912, allocations: 59.98 kB / 0.6426 GB, free: 9.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002913/0.1915, allocations: 291.1 kB / 0.6429 GB, free: 8.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1915, allocations: 0 / 0.6429 GB, free: 8.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.1918, allocations: 67.98 kB / 0.6429 GB, free: 8.844 MB / 494.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.002154/0.194, allocations: 1.02 MB / 0.6439 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1953, allocations: 442.4 kB / 0.6443 GB, free: 7.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1953, allocations: 0 / 0.6443 GB, free: 7.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.1962, allocations: 123.8 kB / 0.6445 GB, free: 7.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1965, allocations: 28.36 kB / 0.6445 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.2006, allocations: 2.782 MB / 0.6472 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.201, allocations: 0.7708 MB / 0.648 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.726e-05/0.2011, allocations: 17.08 kB / 0.648 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.2011, allocations: 19.42 kB / 0.648 GB, free: 3.438 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2011, allocations: 3.938 kB / 0.648 GB, free: 3.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2265, allocations: 6.304 MB / 0.6541 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.851, allocations: 8.047 kB / 0.6542 GB, free: 13.09 MB / 0.4981 GB (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)