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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.00105/0.00105, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.228/1.228, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 284.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8828/0.8828, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 87.86 kB / 0.6821 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3687, allocations: 86.98 MB / 0.767 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002449/0.3712, allocations: 1.484 MB / 0.7685 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009208/0.3721, allocations: 439.5 kB / 0.7689 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3722, allocations: 0 / 0.7689 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.3723, allocations: 7.875 kB / 0.7689 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3724, allocations: 20.23 kB / 0.7689 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.3732, allocations: 250.1 kB / 0.7692 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000378/0.3736, allocations: 335.5 kB / 0.7695 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.3736, allocations: 4 kB / 0.7695 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.3739, allocations: 203.7 kB / 0.7697 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3741, allocations: 112.1 kB / 0.7698 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.3742, allocations: 20 kB / 0.7698 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.3743, allocations: 20 kB / 0.7698 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.3744, allocations: 79.77 kB / 0.7699 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.3745, allocations: 123.3 kB / 0.77 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.3748, allocations: 294.9 kB / 0.7703 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3748, allocations: 0 / 0.7703 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3748, allocations: 0 / 0.7703 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3748, allocations: 4 kB / 0.7703 GB, free: 0.7266 MB / 0.5294 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.0009903/0.3758, allocations: 0.7411 MB / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3759, allocations: 8.031 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.376, allocations: 36.56 kB / 0.7711 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3763, allocations: 263.6 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.3763, allocations: 16.36 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.3764, allocations: 15.94 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.3773, allocations: 207.9 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3774, allocations: 0 / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3774, allocations: 7.984 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3774, allocations: 4 kB / 0.7716 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.3782, allocations: 99.84 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3785, allocations: 317.3 kB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3796, allocations: 174.4 kB / 0.7721 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.3804, allocations: 108.8 kB / 0.7722 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3804, allocations: 4 kB / 0.7722 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.3813, allocations: 211.1 kB / 0.7724 GB, free: 14.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.3813, allocations: 8 kB / 0.7724 GB, free: 14.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002469/0.3838, allocations: 440.1 kB / 0.7729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3839, allocations: 67.38 kB / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.3841, allocations: 290.9 kB / 0.7732 GB, free: 13.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.3842, allocations: 37.7 kB / 0.7732 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.3842, allocations: 89.14 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.3843, allocations: 43.48 kB / 0.7734 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3844, allocations: 93.48 kB / 0.7734 GB, free: 13.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3846, allocations: 322.8 kB / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3847, allocations: 87.94 kB / 0.7738 GB, free: 12.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.385, allocations: 134.4 kB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.3853, allocations: 231.4 kB / 0.7742 GB, free: 12.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3853, allocations: 0 / 0.7742 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005834/0.3859, allocations: 400.3 kB / 0.7746 GB, free: 12.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.386, allocations: 75.38 kB / 0.7746 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.386, allocations: 192 / 0.7746 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.386, allocations: 8 kB / 0.7746 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3862, allocations: 27.92 kB / 0.7747 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3862, allocations: 0 / 0.7747 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.3866, allocations: 63.8 kB / 0.7747 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/0.3867, allocations: 35.98 kB / 0.7748 GB, free: 11.81 MB / 0.545 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.000167/0.3869, allocations: 173.7 kB / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.387, allocations: 31.7 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.387, allocations: 22.31 kB / 0.775 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.387, allocations: 3.984 kB / 0.775 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.387, allocations: 0 / 0.775 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.3872, allocations: 168.6 kB / 0.7752 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.3873, allocations: 8 kB / 0.7752 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.3877, allocations: 35.95 kB / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.3878, allocations: 11.92 kB / 0.7752 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001665/0.3894, allocations: 396.8 kB / 0.7756 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001669/0.3911, allocations: 0.5138 MB / 0.7761 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007214/0.3919, allocations: 115.1 kB / 0.7762 GB, free: 10.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001751/0.392, allocations: 217.9 kB / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Backend: time 3.81e-07/0.3921, allocations: 0 / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006635/0.3927, allocations: 353 kB / 0.7767 GB, free: 9.719 MB / 0.545 GB Notification: Performance of SimCode: time 0.000693/0.3934, allocations: 0.8074 MB / 0.7775 GB, free: 8.863 MB / 0.545 GB Notification: Performance of Templates: time 0.006354/0.3998, allocations: 3.769 MB / 0.7812 GB, free: 5.113 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile (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)