Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.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.0007238/0.0007238, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007514/0.0007514, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8318/0.8318, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:686: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-531:694: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.6694/0.6694, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6193 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.644e-05, allocations: 9.219 kB / 0.6193 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001658/0.001674, allocations: 1.505 MB / 0.6208 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.002538, allocations: 0.5264 MB / 0.6213 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.002597, allocations: 4 kB / 0.6213 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 8.303e-05/0.00268, allocations: 3.938 kB / 0.6213 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.00278, allocations: 35.56 kB / 0.6213 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.003409, allocations: 324.2 kB / 0.6216 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.003795, allocations: 495.3 kB / 0.6221 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.003833, allocations: 4 kB / 0.6221 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.004436, allocations: 351.6 kB / 0.6224 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.004637, allocations: 131.7 kB / 0.6226 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.004686, allocations: 24 kB / 0.6226 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.004735, allocations: 28 kB / 0.6226 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.004833, allocations: 123.6 kB / 0.6227 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.004931, allocations: 127.7 kB / 0.6229 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.005262, allocations: 462.7 kB / 0.6233 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005264, allocations: 0 / 0.6233 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005265, allocations: 0 / 0.6233 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.005271, allocations: 0 / 0.6233 GB, free: 7.973 MB / 0.5417 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.0008285/0.006099, allocations: 0.8106 MB / 0.6241 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.006131, allocations: 8.031 kB / 0.6241 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.006212, allocations: 52.7 kB / 0.6241 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.006459, allocations: 259.9 kB / 0.6244 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.006498, allocations: 20.36 kB / 0.6244 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.006542, allocations: 24.38 kB / 0.6244 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.007054, allocations: 234 kB / 0.6247 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.007061, allocations: 192 / 0.6247 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.007078, allocations: 384 / 0.6247 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.007083, allocations: 384 / 0.6247 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.007441, allocations: 115.9 kB / 0.6248 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.007694, allocations: 281.1 kB / 0.625 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.008194, allocations: 186.4 kB / 0.6252 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.008543, allocations: 116.8 kB / 0.6253 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.008565, allocations: 7.984 kB / 0.6253 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.009018, allocations: 239.1 kB / 0.6256 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.009019, allocations: 0 / 0.6256 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001254/0.01027, allocations: 0.5352 MB / 0.6261 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.01031, allocations: 59.41 kB / 0.6261 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.01057, allocations: 413.8 kB / 0.6265 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.0106, allocations: 37.7 kB / 0.6266 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.01066, allocations: 97.44 kB / 0.6267 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.0107, allocations: 39.73 kB / 0.6267 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01081, allocations: 129.4 kB / 0.6268 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.01088, allocations: 322.8 kB / 0.6271 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.01108, allocations: 199.2 kB / 0.6273 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.01129, allocations: 245.3 kB / 0.6276 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01152, allocations: 267.1 kB / 0.6278 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01152, allocations: 0 / 0.6278 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005204/0.01204, allocations: 0.5678 MB / 0.6284 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.01209, allocations: 79.38 kB / 0.6284 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.0121, allocations: 3.984 kB / 0.6284 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01211, allocations: 4 kB / 0.6284 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.0122, allocations: 23.92 kB / 0.6285 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01221, allocations: 3.938 kB / 0.6285 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.01245, allocations: 72.05 kB / 0.6285 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.01251, allocations: 59.98 kB / 0.6286 GB, free: 2.219 MB / 0.5417 GB 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.0001497/0.01266, allocations: 196.7 kB / 0.6288 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.01269, allocations: 39.7 kB / 0.6288 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.01273, allocations: 39.69 kB / 0.6289 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01274, allocations: 4 kB / 0.6289 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01274, allocations: 0 / 0.6289 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01275, allocations: 7.922 kB / 0.6289 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.01413, allocations: 0.717 MB / 0.6296 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01414, allocations: 0 / 0.6296 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.01416, allocations: 4 kB / 0.6296 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01416, allocations: 0 / 0.6296 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.01418, allocations: 27.91 kB / 0.6296 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01418, allocations: 0 / 0.6296 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01419, allocations: 4 kB / 0.6296 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.01503, allocations: 0.4995 MB / 0.6301 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.01519, allocations: 133.5 kB / 0.6302 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.01523, allocations: 15.94 kB / 0.6302 GB, free: 480 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.01546, allocations: 39.97 kB / 0.6303 GB, free: 440 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.01548, allocations: 7.984 kB / 0.6303 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.01553, allocations: 59.97 kB / 0.6303 GB, free: 372 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001785/0.0157, allocations: 295.1 kB / 0.6306 GB, free: 80 kB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.0157, allocations: 0 / 0.6306 GB, free: 80 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000227/0.01593, allocations: 67.98 kB / 0.6307 GB, free: 12 kB / 0.5417 GB 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.0001015/0.01603, allocations: 115.2 kB / 0.6308 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006827/0.01671, allocations: 0.4899 MB / 0.6313 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01672, allocations: 0 / 0.6313 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.01706, allocations: 119.9 kB / 0.6314 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.0173, allocations: 41.12 kB / 0.6314 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.01811, allocations: 0.6082 MB / 0.632 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.906e-05/0.01821, allocations: 159 kB / 0.6322 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.01824, allocations: 20.5 kB / 0.6322 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of SimCode: time 4.6e-07/0.01824, allocations: 0 / 0.6322 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.003652/0.02189, allocations: 3.67 MB / 0.6358 GB, free: 10.68 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2488066563382745] Failed to read output from testmodel.py, exit status != 0: 0.026687972247600555 0.306499671 0.29897840099999995 Calling exit ...