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.001324/0.001324, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001391/0.001391, allocations: 159.3 kB / 23.01 MB, free: 4.945 MB / 14.72 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8493/0.8493, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003194/0.003194, allocations: 67.72 kB / 0.5356 GB, free: 5.207 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1795, allocations: 85.89 MB / 0.6195 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002635/0.1821, allocations: 1.486 MB / 0.6209 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.183, allocations: 407.3 kB / 0.6213 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1831, allocations: 0 / 0.6213 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.613e-05/0.1831, allocations: 15.86 kB / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.1832, allocations: 24.23 kB / 0.6214 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.184, allocations: 248 kB / 0.6216 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.1843, allocations: 303.5 kB / 0.6219 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1844, allocations: 4 kB / 0.6219 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1847, allocations: 199.6 kB / 0.6221 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1849, allocations: 108.1 kB / 0.6222 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.185, allocations: 20 kB / 0.6222 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.185, allocations: 16 kB / 0.6222 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1851, allocations: 79.78 kB / 0.6223 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.1853, allocations: 103.5 kB / 0.6224 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1856, allocations: 286.9 kB / 0.6227 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1856, allocations: 0 / 0.6227 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1856, allocations: 0 / 0.6227 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.1856, allocations: 0 / 0.6227 GB, free: 14.3 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.001165/0.1868, allocations: 0.6401 MB / 0.6233 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1868, allocations: 11.97 kB / 0.6233 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.1869, allocations: 36.78 kB / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1872, allocations: 202.7 kB / 0.6235 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.1873, allocations: 16.38 kB / 0.6235 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.1873, allocations: 27.92 kB / 0.6236 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.1876, allocations: 149.5 kB / 0.6237 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1876, allocations: 0 / 0.6237 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1877, allocations: 4 kB / 0.6237 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1877, allocations: 4 kB / 0.6237 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1878, allocations: 51.91 kB / 0.6238 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1881, allocations: 221.1 kB / 0.624 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1883, allocations: 118.7 kB / 0.6241 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1885, allocations: 48.83 kB / 0.6241 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1885, allocations: 7.938 kB / 0.6241 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.1889, allocations: 219.6 kB / 0.6244 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.1889, allocations: 0 / 0.6244 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005797/0.1895, allocations: 287.8 kB / 0.6246 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1895, allocations: 63.33 kB / 0.6247 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.1898, allocations: 288.2 kB / 0.625 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1899, allocations: 37.7 kB / 0.625 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.19, allocations: 97.11 kB / 0.6251 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.19, allocations: 47.64 kB / 0.6251 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1902, allocations: 105.8 kB / 0.6252 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1903, allocations: 326.8 kB / 0.6256 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.1906, allocations: 163.6 kB / 0.6257 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.1909, allocations: 209.8 kB / 0.6259 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1912, allocations: 243.1 kB / 0.6261 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1912, allocations: 7.938 kB / 0.6261 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007471/0.192, allocations: 488.1 kB / 0.6266 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.432e-05/0.1921, allocations: 75.33 kB / 0.6267 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1921, allocations: 3.938 kB / 0.6267 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1921, allocations: 4 kB / 0.6267 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1922, allocations: 31.91 kB / 0.6267 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1922, allocations: 4 kB / 0.6267 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.1927, allocations: 72.03 kB / 0.6268 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.1928, allocations: 55.97 kB / 0.6268 GB, free: 9.691 MB / 0.5294 GB 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.0001784/0.193, allocations: 165.5 kB / 0.627 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.193, allocations: 31.78 kB / 0.627 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.1931, allocations: 34.19 kB / 0.6271 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1931, allocations: 0 / 0.6271 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1931, allocations: 4 kB / 0.6271 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1931, allocations: 0 / 0.6271 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007844/0.1939, allocations: 0.508 MB / 0.6276 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1939, allocations: 0 / 0.6276 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.1939, allocations: 7.984 kB / 0.6276 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1939, allocations: 4 kB / 0.6276 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.194, allocations: 11.98 kB / 0.6276 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.194, allocations: 4 kB / 0.6276 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.194, allocations: 0 / 0.6276 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.1944, allocations: 339 kB / 0.6279 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.1946, allocations: 89.59 kB / 0.628 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1947, allocations: 11.98 kB / 0.628 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1949, allocations: 11.38 kB / 0.628 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.1949, allocations: 23.97 kB / 0.628 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.195, allocations: 27.98 kB / 0.6281 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002011/0.1952, allocations: 211 kB / 0.6283 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 0.6283 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003117/0.1955, allocations: 52 kB / 0.6283 GB, free: 8.125 MB / 0.5294 GB 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.0001222/0.1956, allocations: 107.8 kB / 0.6284 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.1962, allocations: 386.3 kB / 0.6288 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1962, allocations: 4.062 kB / 0.6288 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1963, allocations: 70.08 kB / 0.6289 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1966, allocations: 25.66 kB / 0.6289 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.1973, allocations: 395.2 kB / 0.6293 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.1974, allocations: 132.7 kB / 0.6294 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.1975, allocations: 45.41 kB / 0.6294 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1976, allocations: 36.48 kB / 0.6295 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1976, allocations: 0 / 0.6295 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of Templates: time 0.008675/0.2063, allocations: 4.598 MB / 0.634 GB, free: 2.305 MB / 0.5294 GB " [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=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.260942120919935] Failed to read output from testmodel.py, exit status != 0: 0.215797399985604 0.22856213900000003 0.039968170000000004 Calling exit ...