Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001421/0.001421, allocations: 74.36 kB / 19.01 MB, free: 2.719 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.001573/0.001573, allocations: 161.8 kB / 22.26 MB, free: 4.691 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.365/1.365, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002576/0.002576, allocations: 230.1 kB / 259.2 MB, free: 0.6055 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.018/1.018, allocations: 138.5 MB / 454.2 MB, free: 2.055 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003135/0.003135, allocations: 100.2 kB / 0.6466 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.366, allocations: 95.34 MB / 0.7397 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002745/0.3688, allocations: 1.532 MB / 0.7412 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3702, allocations: 0.5369 MB / 0.7417 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.3702, allocations: 3.938 kB / 0.7417 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.117e-05/0.3703, allocations: 7.875 kB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3704, allocations: 23.86 kB / 0.7417 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.3712, allocations: 327.1 kB / 0.742 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.3718, allocations: 475.5 kB / 0.7425 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.3718, allocations: 15.86 kB / 0.7425 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.3723, allocations: 351.7 kB / 0.7428 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.3726, allocations: 131.6 kB / 0.743 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.3727, allocations: 24 kB / 0.743 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.3727, allocations: 32 kB / 0.743 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3729, allocations: 115.7 kB / 0.7431 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3731, allocations: 159.2 kB / 0.7433 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.3736, allocations: 435.5 kB / 0.7437 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3736, allocations: 0 / 0.7437 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3736, allocations: 0 / 0.7437 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3736, allocations: 0 / 0.7437 GB, free: 11.12 MB / 0.5762 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.001297/0.3749, allocations: 0.7951 MB / 0.7445 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3749, allocations: 9.344 kB / 0.7445 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.375, allocations: 56.69 kB / 0.7445 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.3755, allocations: 260.7 kB / 0.7448 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.3755, allocations: 24.34 kB / 0.7448 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.3756, allocations: 28.36 kB / 0.7448 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.3767, allocations: 222 kB / 0.745 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3767, allocations: 4.125 kB / 0.745 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.3768, allocations: 7.938 kB / 0.7451 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3768, allocations: 3.938 kB / 0.7451 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.3776, allocations: 123.9 kB / 0.7452 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.378, allocations: 281.1 kB / 0.7454 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3792, allocations: 178.5 kB / 0.7456 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008601/0.3801, allocations: 116.8 kB / 0.7457 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3801, allocations: 4 kB / 0.7457 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.3812, allocations: 245.9 kB / 0.746 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.3812, allocations: 4 kB / 0.746 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.00285/0.384, allocations: 0.5166 MB / 0.7465 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3841, allocations: 71.39 kB / 0.7465 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.3845, allocations: 405.9 kB / 0.7469 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.3846, allocations: 45.69 kB / 0.747 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3847, allocations: 85.45 kB / 0.7471 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.3847, allocations: 47.67 kB / 0.7471 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.3849, allocations: 129.5 kB / 0.7472 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3851, allocations: 322.8 kB / 0.7475 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3854, allocations: 191.3 kB / 0.7477 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.3858, allocations: 250 kB / 0.748 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.3862, allocations: 279.8 kB / 0.7482 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3862, allocations: 0 / 0.7482 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009275/0.3871, allocations: 0.5547 MB / 0.7488 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/0.3872, allocations: 79.38 kB / 0.7488 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3872, allocations: 4.188 kB / 0.7488 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3872, allocations: 15.94 kB / 0.7489 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3874, allocations: 23.92 kB / 0.7489 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3874, allocations: 4 kB / 0.7489 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.388, allocations: 71.77 kB / 0.749 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.3881, allocations: 55.98 kB / 0.749 GB, free: 5.355 MB / 0.5762 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.0002777/0.3883, allocations: 195.2 kB / 0.7492 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.3884, allocations: 43.77 kB / 0.7492 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.3885, allocations: 47.61 kB / 0.7493 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3885, allocations: 0 / 0.7493 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3885, allocations: 0 / 0.7493 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3885, allocations: 3.984 kB / 0.7493 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.3909, allocations: 0.712 MB / 0.75 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3909, allocations: 3.938 kB / 0.75 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.391, allocations: 11.92 kB / 0.75 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.391, allocations: 0 / 0.75 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.391, allocations: 19.98 kB / 0.75 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.391, allocations: 0 / 0.75 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.391, allocations: 7.984 kB / 0.75 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3929, allocations: 0.4917 MB / 0.7505 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.3933, allocations: 145.4 kB / 0.7506 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.3934, allocations: 8 kB / 0.7506 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.3939, allocations: 39.95 kB / 0.7507 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.3939, allocations: 7.984 kB / 0.7507 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/0.394, allocations: 55.98 kB / 0.7507 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004178/0.3944, allocations: 299.1 kB / 0.751 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3944, allocations: 4 kB / 0.751 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004137/0.3948, allocations: 67.98 kB / 0.7511 GB, free: 3.145 MB / 0.5762 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.0002208/0.3951, allocations: 117.2 kB / 0.7512 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.3966, allocations: 493.8 kB / 0.7517 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3966, allocations: 4.312 kB / 0.7517 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008093/0.3974, allocations: 127.9 kB / 0.7518 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3978, allocations: 29.58 kB / 0.7518 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3993, allocations: 0.5665 MB / 0.7524 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.3995, allocations: 163 kB / 0.7525 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.825e-05/0.3995, allocations: 17.14 kB / 0.7526 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.3996, allocations: 20.5 kB / 0.7526 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.3996, allocations: 0 / 0.7526 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.01007/0.4096, allocations: 6.157 MB / 0.7586 GB, free: 11.35 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.723310504108667] Failed to read output from testmodel.py, exit status != 0: 0.41789211332798004 0.43215170299999994 0.055611006000000004 Calling exit ...