Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_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.004648/0.004653, allocations: 99.36 kB / 15.73 MB, free: 6.449 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.001507/0.001507, allocations: 197.5 kB / 16.68 MB, free: 6.352 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.83 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002779/0.3128, allocations: 1.53 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3141, allocations: 0.5421 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.3141, allocations: 0 / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.659e-05/0.3143, allocations: 11.86 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3144, allocations: 27.86 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.3153, allocations: 303.4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006189/0.3159, allocations: 0.5072 MB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.3159, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.3164, allocations: 275.6 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.3168, allocations: 139.6 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3169, allocations: 28 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.317, allocations: 24 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3171, allocations: 115.7 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3174, allocations: 187 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.3178, allocations: 430.4 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3179, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3179, allocations: 3.938 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3179, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 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.001336/0.3192, allocations: 0.8781 MB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3193, allocations: 8.031 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3193, allocations: 42.67 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.3195, allocations: 52.7 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.3198, allocations: 310.6 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.3199, allocations: 20.36 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.32, allocations: 24.38 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.3209, allocations: 218 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3209, allocations: 3.938 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.321, allocations: 0 / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.321, allocations: 4 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.3217, allocations: 107.8 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3222, allocations: 381.3 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3232, allocations: 182.4 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.3239, allocations: 108.8 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.324, allocations: 0 / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009429/0.3249, allocations: 239 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.3249, allocations: 0 / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0025/0.3274, allocations: 489 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3275, allocations: 63.39 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.328, allocations: 405.9 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.328, allocations: 41.69 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.3281, allocations: 93.44 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.3282, allocations: 39.75 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.3284, allocations: 129.5 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3285, allocations: 322.8 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.3288, allocations: 119.9 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.3291, allocations: 170.9 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.3295, allocations: 278.6 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3295, allocations: 4 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008226/0.3303, allocations: 0.4889 MB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.305e-05/0.3304, allocations: 91.31 kB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3304, allocations: 3.938 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3305, allocations: 4 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3306, allocations: 19.98 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3306, allocations: 0 / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.3311, allocations: 67.94 kB / 1.229 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.3312, allocations: 63.97 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB 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.0002233/0.3315, allocations: 193.7 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.3315, allocations: 39.7 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.3316, allocations: 47.67 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3316, allocations: 0 / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3316, allocations: 4 kB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3316, allocations: 0 / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.3338, allocations: 0.746 MB / 1.23 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3338, allocations: 0 / 1.23 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.3338, allocations: 11.98 kB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3338, allocations: 4 kB / 1.23 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3339, allocations: 11.98 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3339, allocations: 11.94 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3339, allocations: 3.984 kB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3356, allocations: 467.5 kB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.3359, allocations: 208.6 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.336, allocations: 11.98 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.3364, allocations: 31.47 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3365, allocations: 11.98 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.3365, allocations: 63.91 kB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003058/0.3369, allocations: 295.1 kB / 1.231 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3369, allocations: 0 / 1.231 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003538/0.3372, allocations: 64 kB / 1.232 GB, free: 2.219 MB / 0.9825 GB 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.00208/0.3393, allocations: 1.029 MB / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.3406, allocations: 442.4 kB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3406, allocations: 0 / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.3414, allocations: 124.3 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3417, allocations: 30.94 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.346, allocations: 2.802 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3464, allocations: 0.7708 MB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.711e-05/0.3465, allocations: 17.08 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.3466, allocations: 27.42 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.3466, allocations: 0 / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2547/0.6013, allocations: 6.187 MB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.564, allocations: 23.7 kB / 1.243 GB, free: 6.543 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)