Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001654/0.001654, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.00192/0.00192, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.476/1.476, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.205/1.205, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 178] 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.782e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00263/0.002658, allocations: 1.514 MB / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.004, allocations: 0.5381 MB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.004058, allocations: 0 / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.004157, allocations: 11.86 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.004279, allocations: 23.66 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.005145, allocations: 334.6 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.005737, allocations: 495.4 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.005782, allocations: 4 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.006288, allocations: 355.6 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.006583, allocations: 123.8 kB / 0.6218 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.006695, allocations: 28 kB / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.006793, allocations: 24 kB / 0.6219 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.006955, allocations: 119.7 kB / 0.622 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.00715, allocations: 135.7 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.007701, allocations: 466.7 kB / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007705, allocations: 0 / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.007706, allocations: 0 / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.007712, allocations: 0 / 0.6226 GB, free: 464 kB / 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.001327/0.00904, allocations: 0.7911 MB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.009078, allocations: 12.03 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.009196, allocations: 48.7 kB / 0.6234 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.009594, allocations: 264 kB / 0.6237 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.009641, allocations: 16.36 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.009719, allocations: 28.38 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.01079, allocations: 230 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.0108, allocations: 192 / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.01083, allocations: 384 / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.01083, allocations: 4.375 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.01167, allocations: 119.8 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.01209, allocations: 289 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.01323, allocations: 174.5 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.01405, allocations: 128.7 kB / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.01408, allocations: 0 / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.01513, allocations: 235.1 kB / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.01513, allocations: 0 / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002913/0.01804, allocations: 0.5283 MB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.01809, allocations: 55.41 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.01857, allocations: 417.8 kB / 0.6258 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.01863, allocations: 41.7 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.01873, allocations: 97.44 kB / 0.6259 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.01878, allocations: 43.75 kB / 0.626 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.01899, allocations: 125.5 kB / 0.6261 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.01914, allocations: 326.8 kB / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.01948, allocations: 195.2 kB / 0.6266 GB, free: 12.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.01987, allocations: 243.4 kB / 0.6268 GB, free: 11.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.02029, allocations: 275 kB / 0.6271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.02029, allocations: 3.938 kB / 0.6271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009492/0.02124, allocations: 0.5608 MB / 0.6276 GB, free: 10.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.02135, allocations: 85.55 kB / 0.6277 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.02136, allocations: 4 kB / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.02139, allocations: 0 / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.02156, allocations: 24.11 kB / 0.6277 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.02157, allocations: 11.94 kB / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.02208, allocations: 67.8 kB / 0.6278 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.02218, allocations: 63.97 kB / 0.6279 GB, free: 10.71 MB / 0.545 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.0002443/0.02243, allocations: 196.7 kB / 0.6281 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.02249, allocations: 35.77 kB / 0.6281 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.02256, allocations: 47.69 kB / 0.6281 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.02256, allocations: 3.984 kB / 0.6282 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.02257, allocations: 0 / 0.6282 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.02257, allocations: 3.938 kB / 0.6282 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.02495, allocations: 0.7121 MB / 0.6288 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02495, allocations: 4 kB / 0.6289 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.02499, allocations: 12 kB / 0.6289 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.025, allocations: 0 / 0.6289 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.02504, allocations: 23.91 kB / 0.6289 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.02505, allocations: 0 / 0.6289 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02505, allocations: 0 / 0.6289 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.02697, allocations: 0.5034 MB / 0.6294 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.02724, allocations: 137.5 kB / 0.6295 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.02732, allocations: 11.94 kB / 0.6295 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.02784, allocations: 35.97 kB / 0.6296 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.02788, allocations: 7.984 kB / 0.6296 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.02795, allocations: 63.97 kB / 0.6296 GB, free: 8.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000312/0.02826, allocations: 295.1 kB / 0.6299 GB, free: 8.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02826, allocations: 3.938 kB / 0.6299 GB, free: 8.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003601/0.02862, allocations: 67.98 kB / 0.63 GB, free: 8.496 MB / 0.545 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.0001696/0.02879, allocations: 124.6 kB / 0.6301 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.03019, allocations: 485.9 kB / 0.6306 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.03019, allocations: 384 / 0.6306 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008341/0.03103, allocations: 130.1 kB / 0.6307 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.03142, allocations: 29.62 kB / 0.6307 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.03297, allocations: 0.5691 MB / 0.6313 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.03314, allocations: 167 kB / 0.6314 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.579e-05/0.03319, allocations: 17.08 kB / 0.6314 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.03324, allocations: 16.5 kB / 0.6315 GB, free: 6.898 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.03324, allocations: 0 / 0.6315 GB, free: 6.898 MB / 0.545 GB Notification: Performance of Templates: time 0.009755/0.04299, allocations: 5.847 MB / 0.6372 GB, free: 1.035 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.999338146299124] Failed to read output from testmodel.py, exit status != 0: 0.051666464656591415 0.06525420300000001 0.054623434000000005 Calling exit ...