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.001761/0.001762, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.0025/0.0025, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.23/2.23, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.167/1.167, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 67.25 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1758, allocations: 76.18 MB / 0.6316 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002383/0.1782, allocations: 1.501 MB / 0.633 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1793, allocations: 0.5364 MB / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.1794, allocations: 3.938 kB / 0.6335 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.527e-05/0.1795, allocations: 3.938 kB / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.628e-05/0.1796, allocations: 27.84 kB / 0.6336 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.1803, allocations: 329.9 kB / 0.6339 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.1808, allocations: 0.5033 MB / 0.6344 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1809, allocations: 8 kB / 0.6344 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1812, allocations: 275.6 kB / 0.6347 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1814, allocations: 143.5 kB / 0.6348 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.1815, allocations: 28 kB / 0.6348 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.1816, allocations: 28 kB / 0.6348 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1817, allocations: 123.6 kB / 0.635 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1819, allocations: 183.1 kB / 0.6351 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1822, allocations: 418.4 kB / 0.6355 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1823, allocations: 0 / 0.6355 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1823, allocations: 0 / 0.6355 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1823, allocations: 0 / 0.6355 GB, free: 0.9844 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.001104/0.1834, allocations: 0.8703 MB / 0.6364 GB, free: 24 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1834, allocations: 8.031 kB / 0.6364 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.1835, allocations: 42.73 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.1836, allocations: 52.47 kB / 0.6365 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.184, allocations: 310.2 kB / 0.6368 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1841, allocations: 16.38 kB / 0.6368 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.1841, allocations: 28.36 kB / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/0.1851, allocations: 213.1 kB / 0.637 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1851, allocations: 7.875 kB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1851, allocations: 4 kB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1851, allocations: 4 kB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.1859, allocations: 99.92 kB / 0.6371 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1863, allocations: 385.2 kB / 0.6375 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1874, allocations: 182.4 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007429/0.1881, allocations: 108.8 kB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1882, allocations: 7.984 kB / 0.6378 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009333/0.1891, allocations: 227 kB / 0.638 GB, free: 14.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.1891, allocations: 0 / 0.638 GB, free: 14.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002514/0.1916, allocations: 484.8 kB / 0.6385 GB, free: 13.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1917, allocations: 59.41 kB / 0.6385 GB, free: 13.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.1921, allocations: 409.9 kB / 0.6389 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.1921, allocations: 45.69 kB / 0.639 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1922, allocations: 97.36 kB / 0.639 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.1922, allocations: 35.55 kB / 0.6391 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.1924, allocations: 137.2 kB / 0.6392 GB, free: 12.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.1925, allocations: 318.8 kB / 0.6395 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1928, allocations: 119.9 kB / 0.6396 GB, free: 12.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1931, allocations: 174.4 kB / 0.6398 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.1934, allocations: 279.3 kB / 0.6401 GB, free: 12.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1934, allocations: 0 / 0.6401 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007697/0.1942, allocations: 488.6 kB / 0.6405 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.1943, allocations: 91.31 kB / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1943, allocations: 4 kB / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1943, allocations: 3.984 kB / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1945, allocations: 27.92 kB / 0.6407 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1945, allocations: 4 kB / 0.6407 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.195, allocations: 56.05 kB / 0.6407 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.1951, allocations: 55.98 kB / 0.6408 GB, free: 11.27 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.000198/0.1953, allocations: 213.1 kB / 0.641 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.1953, allocations: 39.47 kB / 0.641 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1954, allocations: 39.75 kB / 0.641 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1954, allocations: 4 kB / 0.641 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1954, allocations: 0 / 0.641 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1954, allocations: 7.984 kB / 0.6411 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.1976, allocations: 0.7513 MB / 0.6418 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1976, allocations: 0 / 0.6418 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1976, allocations: 4 kB / 0.6418 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1977, allocations: 4 kB / 0.6418 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.1977, allocations: 19.97 kB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1977, allocations: 0 / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1977, allocations: 3.938 kB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.1994, allocations: 479.2 kB / 0.6423 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.1997, allocations: 200.4 kB / 0.6425 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.1998, allocations: 12 kB / 0.6425 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.2003, allocations: 35.95 kB / 0.6425 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.2003, allocations: 7.984 kB / 0.6425 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.2004, allocations: 51.98 kB / 0.6426 GB, free: 9.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.2006, allocations: 303.1 kB / 0.6429 GB, free: 9.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2006, allocations: 0 / 0.6429 GB, free: 9.027 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.201, allocations: 63.98 kB / 0.6429 GB, free: 8.965 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.001965/0.203, allocations: 1.02 MB / 0.6439 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.2042, allocations: 438.5 kB / 0.6443 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2042, allocations: 384 / 0.6443 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.205, allocations: 119.9 kB / 0.6444 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.2053, allocations: 29.53 kB / 0.6445 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.2091, allocations: 2.782 MB / 0.6472 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2094, allocations: 0.7708 MB / 0.6479 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.355e-05/0.2095, allocations: 13.08 kB / 0.648 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.2096, allocations: 23.44 kB / 0.648 GB, free: 3.566 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2096, allocations: 0 / 0.648 GB, free: 3.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/0.3791, allocations: 6.301 MB / 0.6541 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.52, allocations: 11.3 kB / 0.6541 GB, free: 13.22 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)