Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7434/0.7434, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 180.3 kB / 173.7 MB, free: 6.105 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001023, allocations: 94.47 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003432, allocations: 7.969 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1794, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.3277, allocations: 104.5 MB / 0.7375 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.3281, allocations: 75.95 kB / 0.7375 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.3413, allocations: 4.674 MB / 0.7421 GB, free: 1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3414, allocations: 0 / 0.7421 GB, free: 1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.3414, allocations: 4 kB / 0.7421 GB, free: 0.9961 MB / 0.5105 GB 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.0008808/0.3423, allocations: 0.5793 MB / 0.7427 GB, free: 352 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3423, allocations: 12.03 kB / 0.7427 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.3424, allocations: 42.55 kB / 0.7427 GB, free: 288 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.727e-05/0.3425, allocations: 31.67 kB / 0.7428 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3426, allocations: 180 kB / 0.7429 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3427, allocations: 11.98 kB / 0.7429 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3427, allocations: 16 kB / 0.743 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3483/0.691, allocations: 136 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.6911, allocations: 5.734 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.6911, allocations: 4.828 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6912, allocations: 0 / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.6913, allocations: 45.16 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.6919, allocations: 307.9 kB / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.6922, allocations: 124.5 kB / 0.7436 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.6922, allocations: 4.766 kB / 0.7436 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.6926, allocations: 207.1 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.6926, allocations: 1.406 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0005689/0.6932, allocations: 266.5 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6932, allocations: 64.03 kB / 0.7441 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.6934, allocations: 201.5 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.6935, allocations: 39.33 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.6935, allocations: 91.22 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.6936, allocations: 36.92 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.6936, allocations: 15.33 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.6937, allocations: 321.6 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.694, allocations: 97.89 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.6942, allocations: 148.3 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.6945, allocations: 163.3 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6945, allocations: 3.438 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007046/0.6952, allocations: 403.3 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.6953, allocations: 75.06 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6953, allocations: 3.531 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.6953, allocations: 4.047 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6955, allocations: 34.05 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6955, allocations: 2.344 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.6959, allocations: 46.86 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.696, allocations: 44.53 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001782/0.6962, allocations: 165 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.6962, allocations: 17.64 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.6963, allocations: 26.52 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6963, allocations: 6.031 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6963, allocations: 3.953 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6963, allocations: 0 / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.6972, allocations: 0.5315 MB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6972, allocations: 1.312 kB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.6972, allocations: 14.22 kB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6972, allocations: 3.406 kB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.6973, allocations: 18.02 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6973, allocations: 3.156 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6973, allocations: 1.125 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.6977, allocations: 300.3 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.6979, allocations: 143.2 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.6979, allocations: 6.75 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.6981, allocations: 21.02 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.6981, allocations: 17.83 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.6982, allocations: 26.88 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001174/0.6983, allocations: 156.3 kB / 0.7471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6983, allocations: 0 / 0.7471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003214/0.6986, allocations: 57.88 kB / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.000641/0.6993, allocations: 0.8664 MB / 0.748 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.6999, allocations: 345.5 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6999, allocations: 1.156 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.7, allocations: 69.73 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.7003, allocations: 24.38 kB / 0.7485 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.7015, allocations: 1.515 MB / 0.7499 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.7017, allocations: 0.7334 MB / 0.7506 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.7019, allocations: 32.41 kB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.702, allocations: 36.62 kB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.702, allocations: 3.719 kB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.7225, allocations: 4.983 MB / 0.7556 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.7227, allocations: 189.9 kB / 0.7558 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.469, allocations: 0 / 0.7558 GB, free: 102.8 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)