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: translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001417/0.001417, allocations: 105.4 kB / 15.98 MB, free: 6.359 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.001372/0.001372, allocations: 191.4 kB / 16.91 MB, free: 6.195 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7462/0.7462, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001597, allocations: 63.89 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3971, allocations: 77.91 MB / 0.5667 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002469/0.3996, allocations: 1.565 MB / 0.5682 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4007, allocations: 0.547 MB / 0.5687 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.4008, allocations: 1.031 kB / 0.5687 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.4009, allocations: 10.08 kB / 0.5687 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.401, allocations: 18.7 kB / 0.5688 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.4018, allocations: 289.1 kB / 0.569 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.4024, allocations: 0.5116 MB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.4024, allocations: 6.016 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.4029, allocations: 336.4 kB / 0.5699 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.4032, allocations: 162.5 kB / 0.57 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.4032, allocations: 30.94 kB / 0.57 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.4033, allocations: 28.5 kB / 0.5701 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.4035, allocations: 123.3 kB / 0.5702 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.4037, allocations: 196.5 kB / 0.5704 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.4042, allocations: 435.3 kB / 0.5708 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4042, allocations: 1.281 kB / 0.5708 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4042, allocations: 0 / 0.5708 GB, free: 30.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.475e-06/0.4043, allocations: 0 / 0.5708 GB, free: 30.49 MB / 446.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.001139/0.4054, allocations: 0.8637 MB / 0.5716 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4055, allocations: 11.03 kB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.4056, allocations: 51.03 kB / 0.5717 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.4059, allocations: 309.8 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.406, allocations: 17.88 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.4061, allocations: 26.3 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.4072, allocations: 214.7 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4072, allocations: 0.7812 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.4072, allocations: 10.31 kB / 0.5723 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4072, allocations: 2.594 kB / 0.5723 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.4081, allocations: 102.2 kB / 0.5724 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.4087, allocations: 394.9 kB / 0.5727 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.4099, allocations: 174.5 kB / 0.5729 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008271/0.4108, allocations: 111.2 kB / 0.573 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.4108, allocations: 2.594 kB / 0.573 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.4119, allocations: 222.1 kB / 0.5732 GB, free: 28.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.564e-06/0.4119, allocations: 1.125 kB / 0.5732 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002893/0.4148, allocations: 491.7 kB / 0.5737 GB, free: 28.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.4148, allocations: 59.2 kB / 0.5737 GB, free: 28.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.4153, allocations: 414.8 kB / 0.5741 GB, free: 28.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.4154, allocations: 42.56 kB / 0.5742 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.4155, allocations: 95 kB / 0.5743 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.4156, allocations: 40.34 kB / 0.5743 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.4158, allocations: 129.4 kB / 0.5744 GB, free: 28.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.4158, allocations: 330.6 kB / 0.5747 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.4161, allocations: 117.3 kB / 0.5749 GB, free: 28.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.4164, allocations: 174 kB / 0.575 GB, free: 27.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.4167, allocations: 280.5 kB / 0.5753 GB, free: 27.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4167, allocations: 1.281 kB / 0.5753 GB, free: 27.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008143/0.4175, allocations: 493.5 kB / 0.5758 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.164e-05/0.4176, allocations: 92.45 kB / 0.5759 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4176, allocations: 2.594 kB / 0.5759 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4177, allocations: 4.594 kB / 0.5759 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4178, allocations: 24.3 kB / 0.5759 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4179, allocations: 3.016 kB / 0.5759 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.4184, allocations: 61 kB / 0.5759 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/0.4185, allocations: 61.67 kB / 0.576 GB, free: 27.42 MB / 446.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 (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.0002373/0.4188, allocations: 194.4 kB / 0.5762 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.4188, allocations: 42.31 kB / 0.5762 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.4189, allocations: 46.44 kB / 0.5763 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4189, allocations: 1.438 kB / 0.5763 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4189, allocations: 1.5 kB / 0.5763 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.419, allocations: 1.984 kB / 0.5763 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.4213, allocations: 0.747 MB / 0.577 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4213, allocations: 3.938 kB / 0.577 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.4214, allocations: 5.672 kB / 0.577 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4214, allocations: 0.5312 kB / 0.577 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.4214, allocations: 20.28 kB / 0.577 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4215, allocations: 3.469 kB / 0.577 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4215, allocations: 0 / 0.577 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4233, allocations: 478.3 kB / 0.5775 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.4235, allocations: 199.4 kB / 0.5777 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.4236, allocations: 11.28 kB / 0.5777 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.4241, allocations: 33.34 kB / 0.5777 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.4242, allocations: 12.97 kB / 0.5777 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.4243, allocations: 56.3 kB / 0.5778 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.4246, allocations: 297.8 kB / 0.5781 GB, free: 26.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4246, allocations: 4.656 kB / 0.5781 GB, free: 26.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.425, allocations: 68.42 kB / 0.5781 GB, free: 26.33 MB / 446.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 (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.0001235/0.4251, allocations: 109.1 kB / 0.5783 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.4265, allocations: 450.8 kB / 0.5787 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4265, allocations: 0 / 0.5787 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.4273, allocations: 119.8 kB / 0.5788 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4277, allocations: 30.84 kB / 0.5788 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4292, allocations: 0.6749 MB / 0.5795 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4294, allocations: 0.7682 MB / 0.5802 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.4295, allocations: 15.17 kB / 0.5802 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.4295, allocations: 17.42 kB / 0.5803 GB, free: 24.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4295, allocations: 1.188 kB / 0.5803 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Templates: time 0.008573/0.4381, allocations: 5.177 MB / 0.5853 GB, free: 21.96 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)