Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.001565/0.001565, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001844/0.001844, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.559/1.559, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.325/1.325, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6185 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.391e-05, allocations: 7.375 kB / 0.6185 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002519/0.002553, allocations: 1.518 MB / 0.62 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.00376, allocations: 0.5275 MB / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.003807, allocations: 3.938 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.141e-05/0.003898, allocations: 7.922 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.004007, allocations: 31.62 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.004801, allocations: 318.5 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.005326, allocations: 491.4 kB / 0.6213 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.005368, allocations: 4 kB / 0.6213 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.005871, allocations: 371.5 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.006158, allocations: 131.6 kB / 0.6218 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.006265, allocations: 28 kB / 0.6218 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.006359, allocations: 24 kB / 0.6218 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.006497, allocations: 111.7 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.006685, allocations: 135.7 kB / 0.6221 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.00721, allocations: 462.8 kB / 0.6225 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007212, allocations: 0 / 0.6225 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007213, allocations: 0 / 0.6225 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.007218, allocations: 4 kB / 0.6225 GB, free: 0.5898 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.001228/0.008446, allocations: 0.7989 MB / 0.6233 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.008481, allocations: 9.469 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.008608, allocations: 56.69 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.008974, allocations: 248 kB / 0.6236 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.009022, allocations: 16.36 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.009101, allocations: 32.36 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.01018, allocations: 226 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.01019, allocations: 192 / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.01022, allocations: 8.359 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.01022, allocations: 384 / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.01108, allocations: 115.9 kB / 0.624 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.01147, allocations: 289 kB / 0.6242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.01261, allocations: 186.4 kB / 0.6244 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.01344, allocations: 116.7 kB / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.01346, allocations: 0 / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.01453, allocations: 253.9 kB / 0.6248 GB, free: 14.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.01453, allocations: 0 / 0.6248 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002839/0.01737, allocations: 0.5166 MB / 0.6253 GB, free: 13.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.01743, allocations: 67.33 kB / 0.6253 GB, free: 13.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.01786, allocations: 409.9 kB / 0.6257 GB, free: 13.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.01793, allocations: 41.69 kB / 0.6258 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.01802, allocations: 93.45 kB / 0.6259 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.01807, allocations: 43.73 kB / 0.6259 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.01827, allocations: 129.5 kB / 0.626 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01841, allocations: 322.8 kB / 0.6263 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.01875, allocations: 191.3 kB / 0.6265 GB, free: 12.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.01911, allocations: 246.6 kB / 0.6267 GB, free: 12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.01951, allocations: 275.3 kB / 0.627 GB, free: 11.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01951, allocations: 0 / 0.627 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009255/0.02044, allocations: 0.5586 MB / 0.6276 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.02052, allocations: 83.31 kB / 0.6276 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.02052, allocations: 4 kB / 0.6276 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.02054, allocations: 4 kB / 0.6276 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.02071, allocations: 19.92 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.02072, allocations: 7.938 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.02122, allocations: 72.03 kB / 0.6277 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.02131, allocations: 59.98 kB / 0.6278 GB, free: 10.85 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002383/0.02155, allocations: 198.7 kB / 0.628 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.02162, allocations: 39.77 kB / 0.628 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.02168, allocations: 43.67 kB / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.02168, allocations: 0 / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.02169, allocations: 0 / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.02169, allocations: 3.938 kB / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.02404, allocations: 0.7171 MB / 0.6288 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02405, allocations: 0 / 0.6288 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.02409, allocations: 7.984 kB / 0.6288 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.02409, allocations: 0 / 0.6288 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.02413, allocations: 19.92 kB / 0.6288 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.02413, allocations: 7.984 kB / 0.6288 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02414, allocations: 0 / 0.6288 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.02614, allocations: 0.4982 MB / 0.6293 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.02642, allocations: 145.4 kB / 0.6294 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.0265, allocations: 11.94 kB / 0.6294 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.02701, allocations: 39.95 kB / 0.6295 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.02705, allocations: 11.98 kB / 0.6295 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/0.02713, allocations: 59.92 kB / 0.6295 GB, free: 8.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003784/0.02751, allocations: 295.1 kB / 0.6298 GB, free: 8.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02751, allocations: 0 / 0.6298 GB, free: 8.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003946/0.02791, allocations: 67.98 kB / 0.6299 GB, free: 8.633 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001819/0.02809, allocations: 113.2 kB / 0.63 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.02948, allocations: 489.9 kB / 0.6305 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02948, allocations: 0 / 0.6305 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008334/0.03032, allocations: 131.8 kB / 0.6306 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.03067, allocations: 24.08 kB / 0.6306 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.03225, allocations: 0.5774 MB / 0.6312 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.03244, allocations: 170.8 kB / 0.6313 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.781e-05/0.0325, allocations: 13.14 kB / 0.6314 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.03255, allocations: 20.5 kB / 0.6314 GB, free: 7.027 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.03256, allocations: 0 / 0.6314 GB, free: 7.027 MB / 0.545 GB Notification: Performance of Templates: time 0.0105/0.04305, allocations: 5.944 MB / 0.6372 GB, free: 1.059 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.308752905577421] Failed to read output from testmodel.py, exit status != 0: 0.05178115889430046 0.066909248 0.056455170000000006 Calling exit ...