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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002695/0.002695, allocations: 209.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.06 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 170 MB / 1.284 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002675/0.341, allocations: 1.553 MB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3423, allocations: 0.5402 MB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3423, allocations: 3.938 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.076e-05/0.3424, allocations: 7.922 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.3425, allocations: 27.84 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.3434, allocations: 315.4 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.3439, allocations: 487.4 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.344, allocations: 0 / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.3444, allocations: 279.7 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.3447, allocations: 147.6 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.3448, allocations: 28 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.3448, allocations: 24 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.345, allocations: 123.6 kB / 1.288 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3452, allocations: 183.1 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3456, allocations: 433.9 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3456, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3456, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3457, allocations: 0 / 1.288 GB, free: 7.727 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.001286/0.3469, allocations: 0.8028 MB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.347, allocations: 8.031 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.001e-05/0.347, allocations: 8.188 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.3471, allocations: 30.75 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3472, allocations: 64.66 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.3476, allocations: 260.6 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.3476, allocations: 16.36 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.3477, allocations: 32.36 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3487, allocations: 214.4 kB / 1.29 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3487, allocations: 4 kB / 1.29 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.3488, allocations: 0 / 1.29 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3488, allocations: 4 kB / 1.29 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.3496, allocations: 99.91 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.35, allocations: 356.3 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3511, allocations: 166.4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000773/0.3519, allocations: 104.8 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3519, allocations: 4 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.3529, allocations: 223.1 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 4.148e-06/0.3529, allocations: 3.984 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002667/0.3556, allocations: 487.6 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3556, allocations: 67.38 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.3561, allocations: 409.9 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.3561, allocations: 49.69 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.3562, allocations: 93.44 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.3563, allocations: 35.73 kB / 1.292 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3565, allocations: 137.4 kB / 1.292 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3566, allocations: 322.8 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.3569, allocations: 111.9 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.3572, allocations: 170.4 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.3576, allocations: 283.3 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3576, allocations: 0 / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008903/0.3585, allocations: 496.6 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/0.3586, allocations: 83.38 kB / 1.293 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3586, allocations: 4 kB / 1.293 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3587, allocations: 4 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3588, allocations: 23.92 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3588, allocations: 4.188 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.3593, allocations: 63.83 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.3594, allocations: 63.92 kB / 1.293 GB, free: 2.199 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.000235/0.3597, allocations: 189.7 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.3597, allocations: 47.66 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.692e-05/0.3598, allocations: 39.67 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3598, allocations: 8 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3598, allocations: 0 / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3598, allocations: 0 / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.3621, allocations: 0.7161 MB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3621, allocations: 7.938 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.3622, allocations: 7.984 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3622, allocations: 0 / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.3622, allocations: 19.98 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3622, allocations: 0 / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3622, allocations: 0 / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.364, allocations: 490.4 kB / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.3643, allocations: 125.6 kB / 1.295 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.3644, allocations: 12 kB / 1.295 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.3649, allocations: 33.58 kB / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3649, allocations: 7.984 kB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.365, allocations: 63.98 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003082/0.3653, allocations: 291.1 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3653, allocations: 0 / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000363/0.3657, allocations: 67.98 kB / 1.295 GB, free: 36 kB / 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.002215/0.3679, allocations: 1.03 MB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.3692, allocations: 406.5 kB / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3692, allocations: 0 / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.37, allocations: 107.9 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3704, allocations: 25.62 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.3748, allocations: 2.801 MB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.3752, allocations: 0.7746 MB / 1.3 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.745e-05/0.3753, allocations: 13.08 kB / 1.3 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.3754, allocations: 31.42 kB / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.3754, allocations: 0 / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.4043, allocations: 6.445 MB / 1.307 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 13.31 kB / 1.307 GB, free: 4.23 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=643.381 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.098252259020228] Failed to read output from testmodel.py, exit status != 0: 12.913148497988004 12.377044148 12.025749788 Calling exit ...