Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001318/0.001318, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001159/0.001159, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7585/0.7585, allocations: 154.6 MB / 414.9 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.034e-05, allocations: 2.312 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001937/0.001957, allocations: 1.555 MB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.002901, allocations: 0.5452 MB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.002967, allocations: 0 / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.727e-05/0.003064, allocations: 9.062 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.003169, allocations: 30 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.003832, allocations: 319.2 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.004257, allocations: 492 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.004293, allocations: 4.594 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.004682, allocations: 361 kB / 483.3 MB, free: 3.707 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.004896, allocations: 134.3 kB / 483.4 MB, free: 3.582 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.004945, allocations: 28.59 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.004986, allocations: 28 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.005085, allocations: 120.6 kB / 483.6 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.005193, allocations: 135.7 kB / 483.7 MB, free: 3.277 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.005499, allocations: 375.5 kB / 484.1 MB, free: 2.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005502, allocations: 0 / 484.1 MB, free: 2.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005503, allocations: 2.969 kB / 484.1 MB, free: 2.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005507, allocations: 0 / 484.1 MB, free: 2.91 MB / 442.7 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.0007992/0.006307, allocations: 0.7497 MB / 484.8 MB, free: 2.098 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.006337, allocations: 8.031 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.006413, allocations: 48.88 kB / 484.9 MB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.006652, allocations: 228.8 kB / 485.1 MB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.006684, allocations: 20.36 kB / 485.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.006734, allocations: 37.17 kB / 485.1 MB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.007045, allocations: 181.9 kB / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.007051, allocations: 1 kB / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.007073, allocations: 10.47 kB / 485.3 MB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007078, allocations: 5.281 kB / 485.3 MB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.00715, allocations: 36.23 kB / 485.4 MB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.007325, allocations: 115.5 kB / 485.5 MB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.007482, allocations: 90.66 kB / 485.6 MB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.007557, allocations: 50.12 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.007572, allocations: 4 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.007919, allocations: 150.6 kB / 485.8 MB, free: 1.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.00792, allocations: 0 / 485.8 MB, free: 1.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003254/0.008246, allocations: 203.4 kB / 486 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.008287, allocations: 67.34 kB / 486 MB, free: 0.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.008475, allocations: 331.3 kB / 486.4 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.008513, allocations: 42.97 kB / 486.4 MB, free: 468 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.008561, allocations: 93.44 kB / 486.5 MB, free: 368 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.008593, allocations: 39.72 kB / 486.5 MB, free: 328 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.008703, allocations: 114.1 kB / 486.6 MB, free: 208 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.008788, allocations: 326.8 kB / 487 MB, free: 15.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.008944, allocations: 156.8 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.009093, allocations: 209.3 kB / 487.3 MB, free: 15.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.009275, allocations: 248.1 kB / 487.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009277, allocations: 0.9062 kB / 487.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003417/0.009619, allocations: 439.2 kB / 488 MB, free: 14.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.009671, allocations: 83.38 kB / 488.1 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.009676, allocations: 0 / 488.1 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.009688, allocations: 4.625 kB / 488.1 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.009799, allocations: 37.69 kB / 488.1 MB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.009804, allocations: 3.984 kB / 488.1 MB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.009976, allocations: 43.92 kB / 488.2 MB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.01003, allocations: 58.7 kB / 488.2 MB, free: 14.51 MB / 458.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.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) * 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.0001211/0.01015, allocations: 148.1 kB / 488.4 MB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.01019, allocations: 23.97 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.01023, allocations: 39.67 kB / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01023, allocations: 0 / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01023, allocations: 0 / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01023, allocations: 4.781 kB / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.01066, allocations: 380 kB / 488.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01066, allocations: 0 / 488.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.01069, allocations: 6.344 kB / 488.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01069, allocations: 0 / 488.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.01071, allocations: 11.97 kB / 488.8 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01071, allocations: 5.125 kB / 488.8 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01071, allocations: 0 / 488.8 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01093, allocations: 249 kB / 489.1 MB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.01107, allocations: 111.5 kB / 489.2 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.01111, allocations: 17.45 kB / 489.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.01129, allocations: 29.56 kB / 489.2 MB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.01131, allocations: 15.92 kB / 489.2 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.01135, allocations: 43.98 kB / 489.3 MB, free: 13.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.458e-05/0.01145, allocations: 140.7 kB / 489.4 MB, free: 13.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 1.312 kB / 489.4 MB, free: 13.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.01165, allocations: 63.98 kB / 489.5 MB, free: 13.21 MB / 458.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.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.000102/0.01175, allocations: 98.2 kB / 489.6 MB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.01216, allocations: 401.4 kB / 490 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.01217, allocations: 4.938 kB / 490 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.01225, allocations: 67.59 kB / 490 MB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01244, allocations: 50.95 kB / 490.1 MB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.01306, allocations: 464 kB / 490.5 MB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.8e-05/0.01311, allocations: 84.84 kB / 490.6 MB, free: 12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.01315, allocations: 14.58 kB / 490.6 MB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.01332, allocations: 126.9 kB / 490.8 MB, free: 11.87 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01332, allocations: 1.344 kB / 490.8 MB, free: 11.87 MB / 458.7 MB Notification: Performance of Templates: time 0.006783/0.0201, allocations: 5.28 MB / 496 MB, free: 6.824 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.747958190739155]