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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4633/0.4633, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008056/0.0008055, allocations: 100.7 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.962e-05, allocations: 0 / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3488, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4705, allocations: 104.1 MB / 0.662 GB, free: 164 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4708, allocations: 71.95 kB / 0.6621 GB, free: 92 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01363/0.4845, allocations: 4.59 MB / 0.6666 GB, free: 11.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4845, allocations: 3.938 kB / 0.6666 GB, free: 11.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4845, allocations: 4 kB / 0.6666 GB, free: 11.52 MB / 490.7 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.0006761/0.4852, allocations: 0.629 MB / 0.6672 GB, free: 10.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4853, allocations: 11.98 kB / 0.6672 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.4853, allocations: 46.48 kB / 0.6672 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.4854, allocations: 39.67 kB / 0.6673 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.4858, allocations: 246.5 kB / 0.6675 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.4858, allocations: 15.98 kB / 0.6675 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.4859, allocations: 20 kB / 0.6675 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.4862, allocations: 153.5 kB / 0.6677 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4862, allocations: 0 / 0.6677 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4862, allocations: 0 / 0.6677 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4862, allocations: 0 / 0.6677 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4863, allocations: 55.88 kB / 0.6677 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.4867, allocations: 329.4 kB / 0.6681 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4869, allocations: 102.5 kB / 0.6682 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.487, allocations: 65.22 kB / 0.6682 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.4871, allocations: 7.984 kB / 0.6682 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.4873, allocations: 159.2 kB / 0.6684 GB, free: 9.453 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 3.116e-06/0.4873, allocations: 1.406 kB / 0.6684 GB, free: 9.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004987/0.4878, allocations: 253.7 kB / 0.6686 GB, free: 9.199 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.4879, allocations: 63.33 kB / 0.6687 GB, free: 9.125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.4881, allocations: 255.4 kB / 0.6689 GB, free: 8.871 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.4882, allocations: 41.7 kB / 0.669 GB, free: 8.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.4883, allocations: 97.03 kB / 0.6691 GB, free: 8.723 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4883, allocations: 31.61 kB / 0.6691 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.4883, allocations: 11.98 kB / 0.6691 GB, free: 8.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4884, allocations: 318.8 kB / 0.6694 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.4886, allocations: 87.97 kB / 0.6695 GB, free: 8.273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.4889, allocations: 141.9 kB / 0.6696 GB, free: 8.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4891, allocations: 150.4 kB / 0.6698 GB, free: 7.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4891, allocations: 0 / 0.6698 GB, free: 7.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006192/0.4897, allocations: 397.6 kB / 0.6701 GB, free: 7.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.4898, allocations: 75.38 kB / 0.6702 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4898, allocations: 3.75 kB / 0.6702 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4898, allocations: 4 kB / 0.6702 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.49, allocations: 19.92 kB / 0.6702 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.49, allocations: 4 kB / 0.6702 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.4903, allocations: 48 kB / 0.6703 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.4904, allocations: 43.98 kB / 0.6703 GB, free: 7.348 MB / 490.7 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 () * 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.0001145/0.4905, allocations: 132 kB / 0.6705 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.4905, allocations: 27.7 kB / 0.6705 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.4906, allocations: 30.08 kB / 0.6705 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4906, allocations: 0 / 0.6705 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4906, allocations: 0 / 0.6705 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4906, allocations: 0 / 0.6705 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.4914, allocations: 0.6036 MB / 0.6711 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4914, allocations: 0 / 0.6711 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.4915, allocations: 8 kB / 0.6711 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4915, allocations: 0 / 0.6711 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.4915, allocations: 15.97 kB / 0.6711 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4915, allocations: 4 kB / 0.6711 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4915, allocations: 0 / 0.6711 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.492, allocations: 357.7 kB / 0.6715 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.4921, allocations: 164.7 kB / 0.6716 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.4922, allocations: 11.98 kB / 0.6716 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.4926, allocations: 31.97 kB / 0.6717 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.4926, allocations: 8 kB / 0.6717 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.4927, allocations: 43.97 kB / 0.6717 GB, free: 5.832 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.4929, allocations: 203.1 kB / 0.6719 GB, free: 5.633 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4929, allocations: 4 kB / 0.6719 GB, free: 5.629 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.4932, allocations: 55.98 kB / 0.672 GB, free: 5.574 MB / 490.7 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) * 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.0007013/0.4939, allocations: 0.8972 MB / 0.6728 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.4944, allocations: 333.4 kB / 0.6732 GB, free: 4.305 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4944, allocations: 8.312 kB / 0.6732 GB, free: 4.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.4945, allocations: 67.97 kB / 0.6732 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4947, allocations: 27.97 kB / 0.6733 GB, free: 4.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.4955, allocations: 325.2 kB / 0.6736 GB, free: 3.852 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4957, allocations: 0.7527 MB / 0.6743 GB, free: 3.074 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.4958, allocations: 12.77 kB / 0.6743 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.4959, allocations: 31.31 kB / 0.6743 GB, free: 3.031 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4959, allocations: 0 / 0.6743 GB, free: 3.031 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.5117, allocations: 4.954 MB / 0.6792 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.5119, allocations: 153.9 kB / 0.6793 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/1.951, allocations: 3.938 kB / 0.6793 GB, free: 13.97 MB / 0.4948 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/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)