Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001536, allocations: 186.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 82.97 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006929/0.000693, allocations: 11.5 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2231, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.227, allocations: 139.7 MB / 1.115 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.227, allocations: 76.47 kB / 1.115 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02145/1.249, allocations: 4.451 MB / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.774e-06/1.249, allocations: 0 / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.911e-05/1.249, allocations: 3.875 kB / 1.119 GB, free: 31.34 MB / 0.698 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.001335/1.25, allocations: 0.6242 MB / 1.12 GB, free: 30.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.25, allocations: 11.67 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/1.25, allocations: 41.19 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/1.25, allocations: 33.91 kB / 1.12 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/1.251, allocations: 254.3 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/1.251, allocations: 11.44 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/1.251, allocations: 17.23 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/1.251, allocations: 145.3 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.251, allocations: 4 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/1.251, allocations: 6.766 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.251, allocations: 0 / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/1.252, allocations: 43 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/1.252, allocations: 331.1 kB / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/1.252, allocations: 124.8 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/1.253, allocations: 7.594 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/1.253, allocations: 220.9 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.826e-06/1.253, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001017/1.254, allocations: 265.6 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/1.254, allocations: 69.56 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/1.255, allocations: 254 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.255, allocations: 42.25 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/1.255, allocations: 88.48 kB / 1.122 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/1.255, allocations: 44.42 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/1.255, allocations: 7.312 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.255, allocations: 323.5 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/1.256, allocations: 99.7 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/1.256, allocations: 160.6 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/1.257, allocations: 158.6 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.257, allocations: 4 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001227/1.258, allocations: 419.9 kB / 1.123 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/1.258, allocations: 78.34 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.258, allocations: 0 / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.258, allocations: 3.656 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/1.258, allocations: 29.56 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.258, allocations: 0 / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/1.259, allocations: 54 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.259, allocations: 55.91 kB / 1.123 GB, free: 29.18 MB / 0.698 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.0003465/1.259, allocations: 183.9 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/1.259, allocations: 23.38 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/1.26, allocations: 29.59 kB / 1.123 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.26, allocations: 0 / 1.123 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.26, allocations: 4 kB / 1.123 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.26, allocations: 3.047 kB / 1.123 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.261, allocations: 0.5585 MB / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.261, allocations: 0 / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-05/1.261, allocations: 10.91 kB / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/1.261, allocations: 0 / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/1.261, allocations: 19.69 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.261, allocations: 0 / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.261, allocations: 0 / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/1.262, allocations: 327.5 kB / 1.124 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/1.262, allocations: 157.3 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/1.262, allocations: 10.88 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/1.263, allocations: 6.859 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/1.263, allocations: 16.75 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/1.263, allocations: 28.25 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002818/1.263, allocations: 213.4 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.263, allocations: 4 kB / 1.124 GB, free: 28.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005703/1.264, allocations: 53.81 kB / 1.125 GB, free: 28.35 MB / 0.698 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.00118/1.265, allocations: 0.8677 MB / 1.125 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.266, allocations: 359 kB / 1.126 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.266, allocations: 4.125 kB / 1.126 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/1.266, allocations: 72.31 kB / 1.126 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/1.267, allocations: 20.02 kB / 1.126 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/1.269, allocations: 1.605 MB / 1.127 GB, free: 26.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.269, allocations: 0.7472 MB / 1.128 GB, free: 25.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002693/1.269, allocations: 39.59 kB / 1.128 GB, free: 25.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/1.269, allocations: 50.23 kB / 1.128 GB, free: 25.37 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.27, allocations: 0 / 1.128 GB, free: 25.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/1.298, allocations: 5.392 MB / 1.133 GB, free: 24.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.299, allocations: 172.3 kB / 1.134 GB, free: 24.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.833, allocations: 0 / 1.134 GB, free: 24.2 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)