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.001245/0.001245, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001526/0.001526, allocations: 216 kB / 22.25 MB, free: 5.254 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.305/1.305, allocations: 203.8 MB / 0.5041 GB, free: 4.668 MB / 414.1 MB " [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: 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.002152/0.002152, allocations: 67.91 kB / 0.7186 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5923, allocations: 102 MB / 0.8182 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003009/0.5953, allocations: 1.522 MB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.597, allocations: 0.5253 MB / 0.8202 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.5971, allocations: 1 kB / 0.8202 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.5972, allocations: 10.27 kB / 0.8202 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.5973, allocations: 28.36 kB / 0.8203 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.5984, allocations: 321 kB / 0.8206 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006731/0.5991, allocations: 483.5 kB / 0.821 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.5991, allocations: 4.359 kB / 0.821 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.5996, allocations: 284.9 kB / 0.8213 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.6, allocations: 129.4 kB / 0.8214 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.6001, allocations: 26.38 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.6002, allocations: 27.56 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.6004, allocations: 119.5 kB / 0.8216 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.6006, allocations: 155.2 kB / 0.8217 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.6012, allocations: 429.1 kB / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6012, allocations: 0 / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6012, allocations: 2 kB / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.6012, allocations: 0 / 0.8222 GB, free: 26.74 MB / 0.6387 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.001273/0.6025, allocations: 0.8027 MB / 0.8229 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.6026, allocations: 11.12 kB / 0.8229 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.6027, allocations: 52.16 kB / 0.823 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.6031, allocations: 251.1 kB / 0.8232 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.6032, allocations: 19.22 kB / 0.8233 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.6033, allocations: 29.09 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.6044, allocations: 217.1 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6044, allocations: 192 / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.6044, allocations: 7.375 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6044, allocations: 1.938 kB / 0.8235 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/0.6053, allocations: 110 kB / 0.8236 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.6058, allocations: 283.4 kB / 0.8239 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.6069, allocations: 166.2 kB / 0.824 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008367/0.6078, allocations: 104.2 kB / 0.8241 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.6078, allocations: 1.953 kB / 0.8241 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.6089, allocations: 233.4 kB / 0.8244 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.6089, allocations: 3.938 kB / 0.8244 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.002859/0.6117, allocations: 491.5 kB / 0.8248 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.6118, allocations: 63.66 kB / 0.8249 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.6123, allocations: 407.1 kB / 0.8253 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.6123, allocations: 44.39 kB / 0.8253 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.667e-05/0.6124, allocations: 90.67 kB / 0.8254 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.6124, allocations: 36.94 kB / 0.8254 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.6127, allocations: 128.5 kB / 0.8256 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.6127, allocations: 324.9 kB / 0.8259 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.613, allocations: 189.1 kB / 0.8261 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.6134, allocations: 251.8 kB / 0.8263 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.6137, allocations: 267.4 kB / 0.8265 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6137, allocations: 1.469 kB / 0.8266 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008717/0.6146, allocations: 0.562 MB / 0.8271 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.6147, allocations: 81.25 kB / 0.8272 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6147, allocations: 1.125 kB / 0.8272 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.6147, allocations: 7.844 kB / 0.8272 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.6149, allocations: 22.8 kB / 0.8272 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6149, allocations: 7.453 kB / 0.8272 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.6155, allocations: 59.42 kB / 0.8273 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/0.6155, allocations: 57.2 kB / 0.8273 GB, free: 23.68 MB / 0.6387 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.0002219/0.6158, allocations: 191.2 kB / 0.8275 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.6158, allocations: 37.58 kB / 0.8275 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.6159, allocations: 45.44 kB / 0.8276 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6159, allocations: 5.969 kB / 0.8276 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6159, allocations: 0 / 0.8276 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6159, allocations: 5.969 kB / 0.8276 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.6184, allocations: 0.6796 MB / 0.8283 GB, free: 23.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6184, allocations: 3.938 kB / 0.8283 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.6184, allocations: 9.562 kB / 0.8283 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6184, allocations: 1.375 kB / 0.8283 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.6185, allocations: 22.31 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.6185, allocations: 1.375 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6185, allocations: 4 kB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.6205, allocations: 474.2 kB / 0.8288 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.6209, allocations: 145.3 kB / 0.8289 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.6209, allocations: 13.73 kB / 0.8289 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.6215, allocations: 37.8 kB / 0.8289 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.6215, allocations: 11.09 kB / 0.829 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-05/0.6216, allocations: 56.92 kB / 0.829 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000317/0.6219, allocations: 297.8 kB / 0.8293 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6219, allocations: 0 / 0.8293 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004015/0.6223, allocations: 65.72 kB / 0.8294 GB, free: 22.73 MB / 0.6387 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.0001422/0.6225, allocations: 112.9 kB / 0.8295 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.6239, allocations: 474 kB / 0.8299 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6239, allocations: 1.25 kB / 0.8299 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.6247, allocations: 108.4 kB / 0.83 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.6251, allocations: 31.53 kB / 0.83 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6267, allocations: 0.5597 MB / 0.8306 GB, free: 22.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.6268, allocations: 167.8 kB / 0.8308 GB, free: 21.93 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.706e-05/0.6269, allocations: 12.7 kB / 0.8308 GB, free: 21.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.627, allocations: 22.89 kB / 0.8308 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.627, allocations: 0 / 0.8308 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.01129/0.6383, allocations: 6.148 MB / 0.8368 GB, free: 20.63 MB / 0.6387 GB " [Timeout remaining time 659] 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.86544269323349] Failed to read output from testmodel.py, exit status != 0: 0.6469833794981241 0.658473461 0.054584651000000005 Calling exit ...