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.001521/0.001521, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001571/0.001571, allocations: 160.4 kB / 23.02 MB, free: 4.941 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.002383/0.002383, allocations: 233.4 kB / 260 MB, free: 432 kB / 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 0.8849/0.8849, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.002978/0.002978, allocations: 99.84 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3801, allocations: 95.34 MB / 0.7404 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002142/0.3822, allocations: 1.532 MB / 0.7419 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3833, allocations: 0.5296 MB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.3834, allocations: 5.188 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.217e-05/0.3835, allocations: 10.36 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.3836, allocations: 25.78 kB / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.3842, allocations: 312.3 kB / 0.7428 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.3847, allocations: 486.8 kB / 0.7432 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.3847, allocations: 3.422 kB / 0.7432 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.385, allocations: 284.4 kB / 0.7435 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.3853, allocations: 132.4 kB / 0.7436 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.3854, allocations: 26 kB / 0.7437 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.3855, allocations: 27.03 kB / 0.7437 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3856, allocations: 120 kB / 0.7438 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3857, allocations: 152.3 kB / 0.7439 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.3861, allocations: 432.4 kB / 0.7444 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3861, allocations: 0 / 0.7444 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3861, allocations: 3.938 kB / 0.7444 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3861, allocations: 0 / 0.7444 GB, free: 15.23 MB / 0.5919 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.000975/0.3871, allocations: 0.8107 MB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3871, allocations: 9.906 kB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3872, allocations: 52.22 kB / 0.7452 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3876, allocations: 255.9 kB / 0.7455 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.3876, allocations: 17.67 kB / 0.7455 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/0.3877, allocations: 25.75 kB / 0.7455 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.3886, allocations: 224.6 kB / 0.7457 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3886, allocations: 4.125 kB / 0.7457 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3886, allocations: 18.64 kB / 0.7457 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3886, allocations: 1.094 kB / 0.7457 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.3893, allocations: 115.1 kB / 0.7458 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.3896, allocations: 284.8 kB / 0.7461 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.3906, allocations: 181.3 kB / 0.7463 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.3913, allocations: 117 kB / 0.7464 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3913, allocations: 2.891 kB / 0.7464 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.3922, allocations: 242.9 kB / 0.7466 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.3922, allocations: 0 / 0.7466 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.002381/0.3946, allocations: 0.5269 MB / 0.7472 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.3946, allocations: 59.53 kB / 0.7472 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3949, allocations: 414.2 kB / 0.7476 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.395, allocations: 39.77 kB / 0.7476 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.395, allocations: 96.03 kB / 0.7477 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.3951, allocations: 41.69 kB / 0.7478 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3952, allocations: 125.5 kB / 0.7479 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.3953, allocations: 321.3 kB / 0.7482 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.3955, allocations: 195.7 kB / 0.7484 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3958, allocations: 251.3 kB / 0.7486 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3961, allocations: 278.6 kB / 0.7489 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3961, allocations: 1.219 kB / 0.7489 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007343/0.3968, allocations: 0.5603 MB / 0.7494 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.3969, allocations: 85.98 kB / 0.7495 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3969, allocations: 1.312 kB / 0.7495 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3969, allocations: 11.56 kB / 0.7495 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.397, allocations: 20 kB / 0.7496 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.397, allocations: 6.5 kB / 0.7496 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.3975, allocations: 65.55 kB / 0.7496 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.3976, allocations: 62.19 kB / 0.7497 GB, free: 12.15 MB / 0.5919 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.0001651/0.3978, allocations: 194.9 kB / 0.7499 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.3978, allocations: 41.44 kB / 0.7499 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.3979, allocations: 41 kB / 0.7499 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3979, allocations: 2.734 kB / 0.7499 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3979, allocations: 1.188 kB / 0.7499 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3979, allocations: 0.6562 kB / 0.7499 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.3999, allocations: 0.707 MB / 0.7506 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3999, allocations: 4.594 kB / 0.7506 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.3999, allocations: 9.906 kB / 0.7507 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3999, allocations: 0 / 0.7507 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4, allocations: 24.14 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4, allocations: 5.047 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4, allocations: 5.438 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.4016, allocations: 0.5049 MB / 0.7512 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.4018, allocations: 137 kB / 0.7513 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.4019, allocations: 14.84 kB / 0.7513 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.4024, allocations: 39.62 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.4024, allocations: 7.812 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.4025, allocations: 65.62 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002504/0.4027, allocations: 293.2 kB / 0.7517 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4027, allocations: 1.25 kB / 0.7517 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003302/0.4031, allocations: 65.53 kB / 0.7518 GB, free: 11.2 MB / 0.5919 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 9.979e-05/0.4032, allocations: 122.4 kB / 0.7519 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.4043, allocations: 487.8 kB / 0.7524 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4043, allocations: 0 / 0.7524 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.405, allocations: 127.9 kB / 0.7525 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4054, allocations: 32.8 kB / 0.7525 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4066, allocations: 0.5631 MB / 0.7531 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.4068, allocations: 173 kB / 0.7532 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.4068, allocations: 15.22 kB / 0.7532 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.4068, allocations: 17.09 kB / 0.7533 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.4068, allocations: 3.938 kB / 0.7533 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.008334/0.4152, allocations: 6.165 MB / 0.7593 GB, free: 7.504 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.562576351920143] Failed to read output from testmodel.py, exit status != 0: 0.42258859192952514 0.432282162 0.043718403 Calling exit ...