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.001583/0.001583, allocations: 96.81 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002212, allocations: 170.7 kB / 16.57 MB, free: 6.398 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.448/2.448, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.091/1.091, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007524/0.0007525, allocations: 8 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2907, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002035/0.2928, allocations: 1.165 MB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000979/0.2938, allocations: 397 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.2939, allocations: 0 / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.2939, allocations: 7.922 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.294, allocations: 23.95 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.2949, allocations: 215.2 kB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.2952, allocations: 159.7 kB / 0.5586 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.2953, allocations: 4 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.2957, allocations: 171.7 kB / 0.5588 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.2961, allocations: 127.7 kB / 0.5589 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.086e-05/0.2962, allocations: 8 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.2963, allocations: 12 kB / 0.5589 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2964, allocations: 79.78 kB / 0.559 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2966, allocations: 73.52 kB / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.297, allocations: 203.9 kB / 0.5593 GB, free: 9.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.297, allocations: 0 / 0.5593 GB, free: 9.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.297, allocations: 0 / 0.5593 GB, free: 9.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.297, allocations: 0 / 0.5593 GB, free: 9.09 MB / 430.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.001601/0.2986, allocations: 0.6642 MB / 0.5599 GB, free: 8.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/0.2987, allocations: 8.031 kB / 0.5599 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.2988, allocations: 38.56 kB / 0.56 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.299, allocations: 27.72 kB / 0.56 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.2996, allocations: 262.5 kB / 0.5602 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.2997, allocations: 11.98 kB / 0.5603 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2998, allocations: 23.95 kB / 0.5603 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.3016, allocations: 213.4 kB / 0.5605 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3016, allocations: 0 / 0.5605 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.3017, allocations: 7.922 kB / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.3017, allocations: 4 kB / 0.5605 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3031, allocations: 107.9 kB / 0.5606 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007699/0.3039, allocations: 313.4 kB / 0.5609 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.3057, allocations: 190.5 kB / 0.5611 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3058, allocations: 384 / 0.5611 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.3074, allocations: 227.1 kB / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 3.056e-06/0.3075, allocations: 0 / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.004498/0.312, allocations: 481.9 kB / 0.5618 GB, free: 6.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3121, allocations: 63.39 kB / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.3128, allocations: 287 kB / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3129, allocations: 33.7 kB / 0.5621 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.313, allocations: 93.12 kB / 0.5622 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.3131, allocations: 35.52 kB / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.3132, allocations: 15.98 kB / 0.5623 GB, free: 5.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3134, allocations: 322.8 kB / 0.5626 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3138, allocations: 83.88 kB / 0.5626 GB, free: 5.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.3142, allocations: 134.5 kB / 0.5628 GB, free: 5.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.3147, allocations: 157.1 kB / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3147, allocations: 0 / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001228/0.3159, allocations: 392.7 kB / 0.5633 GB, free: 4.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.3161, allocations: 75.39 kB / 0.5634 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3162, allocations: 0 / 0.5634 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.3162, allocations: 4 kB / 0.5634 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.3165, allocations: 28.11 kB / 0.5634 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.3166, allocations: 7.938 kB / 0.5634 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.3175, allocations: 56.97 kB / 0.5635 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3176, allocations: 43.98 kB / 0.5635 GB, free: 4.441 MB / 430.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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004664/0.3181, allocations: 177.7 kB / 0.5637 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.3182, allocations: 23.72 kB / 0.5637 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.3183, allocations: 30.3 kB / 0.5637 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3183, allocations: 0 / 0.5637 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3183, allocations: 4 kB / 0.5637 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.3183, allocations: 3.953 kB / 0.5637 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.3221, allocations: 0.7144 MB / 0.5644 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3221, allocations: 0 / 0.5644 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.3222, allocations: 4 kB / 0.5644 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.3223, allocations: 4 kB / 0.5644 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.3223, allocations: 19.97 kB / 0.5645 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.3224, allocations: 7.891 kB / 0.5645 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3224, allocations: 3.938 kB / 0.5645 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.3254, allocations: 472.8 kB / 0.5649 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.3259, allocations: 156.7 kB / 0.5651 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3261, allocations: 16 kB / 0.5651 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/0.3269, allocations: 35.95 kB / 0.5651 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.327, allocations: 11.94 kB / 0.5651 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.3271, allocations: 47.98 kB / 0.5652 GB, free: 2.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004443/0.3276, allocations: 209.9 kB / 0.5654 GB, free: 2.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3276, allocations: 0 / 0.5654 GB, free: 2.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007238/0.3283, allocations: 44 kB / 0.5654 GB, free: 2.387 MB / 430.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 (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.003812/0.3322, allocations: 1.015 MB / 0.5664 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.3345, allocations: 392.6 kB / 0.5668 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.3346, allocations: 4.375 kB / 0.5668 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.3359, allocations: 115.9 kB / 0.5669 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3364, allocations: 20.59 kB / 0.5669 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.3408, allocations: 1.661 MB / 0.5685 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.3415, allocations: 0.7511 MB / 0.5693 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.3416, allocations: 13.08 kB / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3418, allocations: 23.42 kB / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.777e-06/0.3418, allocations: 0 / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.4608, allocations: 4.512 MB / 0.5737 GB, free: 9.883 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/0.4612, allocations: 170.6 kB / 0.5739 GB, free: 9.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/3.877, allocations: 0 / 0.5739 GB, free: 9.645 MB / 446.1 MB (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) Environment - environmentSimulation: