Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001446/0.001446, allocations: 81.86 kB / 21.44 MB, free: 3.055 MB / 18.57 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.001653/0.001653, allocations: 168 kB / 24.84 MB, free: 9.293 MB / 18.57 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 0.9206/0.9206, allocations: 177.2 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6439/0.6439, allocations: 115 MB / 376.8 MB, free: 7.477 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.905e-05, allocations: 3.516 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003123/0.003152, allocations: 1.758 MB / 484.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.00446, allocations: 0.6164 MB / 485.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.00456, allocations: 1.625 kB / 485.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004663, allocations: 8.969 kB / 485.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.004801, allocations: 38.56 kB / 485.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008573/0.005659, allocations: 372.5 kB / 485.6 MB, free: 9.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006848/0.006344, allocations: 0.6014 MB / 486.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.006445, allocations: 17.69 kB / 486.2 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.007016, allocations: 420.2 kB / 486.6 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.007356, allocations: 141.9 kB / 486.8 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.007455, allocations: 40.06 kB / 486.8 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.007525, allocations: 42.03 kB / 486.8 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.007636, allocations: 128.5 kB / 487 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.007797, allocations: 151 kB / 487.1 MB, free: 9.238 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.008242, allocations: 433.5 kB / 487.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008245, allocations: 2.531 kB / 487.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008246, allocations: 0 / 487.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.008257, allocations: 0 / 487.5 MB, free: 9.035 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001165/0.009422, allocations: 0.9489 MB / 488.5 MB, free: 8.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.00946, allocations: 11.91 kB / 488.5 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.009628, allocations: 69.73 kB / 488.6 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.009963, allocations: 284.2 kB / 488.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.01001, allocations: 19.14 kB / 488.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.01009, allocations: 32.19 kB / 488.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.01054, allocations: 207.1 kB / 489.1 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01055, allocations: 192 / 489.1 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.01058, allocations: 5.672 kB / 489.1 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01059, allocations: 4.406 kB / 489.1 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.01073, allocations: 68.22 kB / 489.2 MB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01175, allocations: 0.535 MB / 489.7 MB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.01201, allocations: 122 kB / 489.8 MB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.01214, allocations: 64.55 kB / 489.9 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01216, allocations: 6.438 kB / 489.9 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.01243, allocations: 179.8 kB / 490.1 MB, free: 7.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.01244, allocations: 0 / 490.1 MB, free: 7.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007353/0.01317, allocations: 365.1 kB / 490.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.0132, allocations: 65.28 kB / 490.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.01375, allocations: 430 kB / 490.9 MB, free: 23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.0138, allocations: 37.89 kB / 490.9 MB, free: 22.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.0139, allocations: 152.5 kB / 491.1 MB, free: 22.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.01394, allocations: 40.66 kB / 491.1 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.01412, allocations: 145.3 kB / 491.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01426, allocations: 0.494 MB / 491.8 MB, free: 22.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.01451, allocations: 167.3 kB / 491.9 MB, free: 22.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.01475, allocations: 243.2 kB / 492.2 MB, free: 21.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.01502, allocations: 277.8 kB / 492.4 MB, free: 21.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01503, allocations: 0 / 492.4 MB, free: 21.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007743/0.0158, allocations: 0.5433 MB / 493 MB, free: 21.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.01587, allocations: 89.34 kB / 493.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01588, allocations: 1.094 kB / 493.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01589, allocations: 4.031 kB / 493.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.01605, allocations: 35.5 kB / 493.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01606, allocations: 3.344 kB / 493.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.01636, allocations: 47.33 kB / 493.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.01645, allocations: 61.64 kB / 493.2 MB, free: 21.43 MB / 426.7 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.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.0001727/0.01662, allocations: 184.3 kB / 493.4 MB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.0167, allocations: 54.81 kB / 493.5 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.01676, allocations: 39.09 kB / 493.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01676, allocations: 0 / 493.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01676, allocations: 1.5 kB / 493.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01677, allocations: 2.844 kB / 493.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.01766, allocations: 0.6327 MB / 494.1 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01766, allocations: 1.438 kB / 494.1 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.0177, allocations: 6.953 kB / 494.1 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.0177, allocations: 1.375 kB / 494.1 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.01774, allocations: 25.33 kB / 494.2 MB, free: 20.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01774, allocations: 5.469 kB / 494.2 MB, free: 20.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01774, allocations: 3.938 kB / 494.2 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.01833, allocations: 461.5 kB / 494.6 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.01859, allocations: 167.3 kB / 494.8 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.01867, allocations: 19.22 kB / 494.8 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.0189, allocations: 21.39 kB / 494.8 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.01893, allocations: 7.031 kB / 494.8 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/0.01901, allocations: 59.88 kB / 494.9 MB, free: 20.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002588/0.01927, allocations: 264.8 kB / 495.1 MB, free: 20.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01927, allocations: 0 / 495.1 MB, free: 20.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.01967, allocations: 70.56 kB / 495.2 MB, free: 20.36 MB / 426.7 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 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.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.0001718/0.01985, allocations: 124.3 kB / 495.3 MB, free: 20.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006201/0.02047, allocations: 431.3 kB / 495.8 MB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.02047, allocations: 1.938 kB / 495.8 MB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.02062, allocations: 75.05 kB / 495.8 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.02103, allocations: 62.41 kB / 495.9 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.02185, allocations: 498.7 kB / 496.4 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.02192, allocations: 92 kB / 496.5 MB, free: 19.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.02198, allocations: 15.58 kB / 496.5 MB, free: 19.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.02225, allocations: 148.5 kB / 496.6 MB, free: 19.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02225, allocations: 0 / 496.6 MB, free: 19.52 MB / 426.7 MB Notification: Performance of Templates: time 0.01166/0.03391, allocations: 6.038 MB / 0.4909 GB, free: 18.29 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.637359987013042]