Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009663, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007524/0.007525, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4253/0.4253, allocations: 55.01 MB / 325.8 MB, free: 0.5664 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006261/0.0006261, allocations: 12 kB / 397.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4342, allocations: 60.72 MB / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.001483/0.4358, allocations: 1.171 MB / 459.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.4367, allocations: 419.6 kB / 459.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.4367, allocations: 0 / 459.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.4368, allocations: 7.859 kB / 459.6 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.4369, allocations: 17.3 kB / 459.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.4375, allocations: 220.6 kB / 459.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.4378, allocations: 273.2 kB / 460.1 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.4378, allocations: 6.297 kB / 460.1 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.4381, allocations: 193.8 kB / 460.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.4383, allocations: 109.4 kB / 460.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.4383, allocations: 9.25 kB / 460.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.4384, allocations: 8.688 kB / 460.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.791e-05/0.4384, allocations: 55 kB / 460.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.4386, allocations: 126.6 kB / 460.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.4388, allocations: 230.3 kB / 460.8 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4388, allocations: 0 / 460.8 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4388, allocations: 0 / 460.8 MB, free: 38.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4388, allocations: 1.531 kB / 460.8 MB, free: 38.16 MB / 382.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.0009087/0.4397, allocations: 0.5609 MB / 461.3 MB, free: 37.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4398, allocations: 10.91 kB / 461.3 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.4399, allocations: 29.62 kB / 461.4 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.4401, allocations: 238.6 kB / 461.6 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.4401, allocations: 16.91 kB / 461.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.4402, allocations: 16.47 kB / 461.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.4405, allocations: 140.8 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4405, allocations: 192 / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.4405, allocations: 10.94 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4405, allocations: 0 / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.4407, allocations: 45.55 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.441, allocations: 291 kB / 462.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.4413, allocations: 133.1 kB / 462.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4414, allocations: 56.23 kB / 462.3 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.4415, allocations: 8.062 kB / 462.3 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.4419, allocations: 200.7 kB / 462.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.4419, allocations: 0.6875 kB / 462.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.00052/0.4424, allocations: 262.7 kB / 462.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4425, allocations: 59.56 kB / 462.8 MB, free: 36.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.4427, allocations: 231 kB / 463.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.4427, allocations: 39.55 kB / 463.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.4428, allocations: 86.83 kB / 463.2 MB, free: 36.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.4428, allocations: 46.73 kB / 463.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.4429, allocations: 33.22 kB / 463.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.443, allocations: 324.9 kB / 463.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.4432, allocations: 95.3 kB / 463.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.4434, allocations: 140.8 kB / 463.8 MB, free: 36.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.4437, allocations: 239.6 kB / 464 MB, free: 36.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4437, allocations: 0 / 464 MB, free: 36.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005954/0.4443, allocations: 405.3 kB / 464.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.4444, allocations: 69.72 kB / 464.5 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.4444, allocations: 8.312 kB / 464.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4444, allocations: 2.469 kB / 464.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4446, allocations: 32.45 kB / 464.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4446, allocations: 2.969 kB / 464.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.4451, allocations: 72.8 kB / 464.6 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.4452, allocations: 47.03 kB / 464.7 MB, free: 36.02 MB / 382.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: 26 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.000135/0.4453, allocations: 159.3 kB / 464.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.4453, allocations: 20.69 kB / 464.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.4454, allocations: 25.81 kB / 464.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4454, allocations: 7.281 kB / 464.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4454, allocations: 0 / 464.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4454, allocations: 0 / 464.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.4461, allocations: 0.5309 MB / 465.4 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4461, allocations: 8.594 kB / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.4461, allocations: 9.875 kB / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4461, allocations: 0 / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.4462, allocations: 16.12 kB / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4462, allocations: 0.9375 kB / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4462, allocations: 0 / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.4466, allocations: 311.2 kB / 465.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4467, allocations: 144 kB / 465.9 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.4467, allocations: 11.19 kB / 465.9 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4469, allocations: 17.88 kB / 465.9 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.447, allocations: 14.67 kB / 465.9 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.447, allocations: 28.19 kB / 465.9 MB, free: 35.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.4472, allocations: 165.2 kB / 466.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4472, allocations: 0 / 466.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000301/0.4475, allocations: 45.52 kB / 466.2 MB, free: 35.23 MB / 382.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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001361/0.4476, allocations: 113.3 kB / 466.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.4482, allocations: 344.3 kB / 466.6 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4482, allocations: 0 / 466.6 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4484, allocations: 74.69 kB / 466.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.4487, allocations: 27.84 kB / 466.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.4494, allocations: 372 kB / 467.1 MB, free: 34.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.4496, allocations: 0.7273 MB / 467.8 MB, free: 34.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.4497, allocations: 30.77 kB / 467.8 MB, free: 34.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.4498, allocations: 32.84 kB / 467.9 MB, free: 34.05 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4498, allocations: 0 / 467.9 MB, free: 34.05 MB / 382.1 MB Notification: Performance of Templates: time 0.006934/0.4568, allocations: 3.602 MB / 471.5 MB, free: 33.76 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: