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.0007572/0.0007572, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008183/0.0008183, allocations: 207.8 kB / 23.01 MB, free: 3.121 MB / 13.93 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.892/0.892, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7567/0.7567, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 MB / 410.7 MB " [Timeout remaining time 179] 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.000955/0.000955, allocations: 76.48 kB / 0.7194 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4235, allocations: 102 MB / 0.8191 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001844/0.4254, allocations: 1.539 MB / 0.8206 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.4262, allocations: 0.5462 MB / 0.8211 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.4263, allocations: 0 / 0.8211 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.745e-05/0.4263, allocations: 7.875 kB / 0.8211 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.4264, allocations: 37.39 kB / 0.8211 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.427, allocations: 313.2 kB / 0.8214 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.4275, allocations: 487.4 kB / 0.8219 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.4276, allocations: 7.984 kB / 0.8219 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.4278, allocations: 275.7 kB / 0.8222 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.428, allocations: 151.6 kB / 0.8223 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.4281, allocations: 32 kB / 0.8223 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.4281, allocations: 24 kB / 0.8224 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.4282, allocations: 119.6 kB / 0.8225 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.4283, allocations: 179.1 kB / 0.8227 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.4286, allocations: 429 kB / 0.8231 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4286, allocations: 4 kB / 0.8231 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4286, allocations: 0 / 0.8231 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4286, allocations: 0 / 0.8231 GB, free: 10.48 MB / 0.6042 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.0007593/0.4294, allocations: 0.8028 MB / 0.8239 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.4294, allocations: 13.47 kB / 0.8239 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.4295, allocations: 52.7 kB / 0.8239 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4297, allocations: 256.8 kB / 0.8242 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.4297, allocations: 20.3 kB / 0.8242 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.4298, allocations: 24.38 kB / 0.8242 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.4302, allocations: 221.9 kB / 0.8244 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4303, allocations: 192 / 0.8244 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4303, allocations: 7.938 kB / 0.8244 GB, free: 9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4303, allocations: 0 / 0.8244 GB, free: 9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.4306, allocations: 95.92 kB / 0.8245 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.4309, allocations: 360.3 kB / 0.8249 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.4313, allocations: 166.5 kB / 0.825 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.4316, allocations: 108.8 kB / 0.8251 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.4317, allocations: 0 / 0.8251 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.4321, allocations: 233.8 kB / 0.8253 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.4321, allocations: 4 kB / 0.8253 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001138/0.4332, allocations: 485 kB / 0.8258 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.4333, allocations: 63.39 kB / 0.8259 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.4335, allocations: 409.9 kB / 0.8263 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4336, allocations: 41.69 kB / 0.8263 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.4336, allocations: 93.45 kB / 0.8264 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.4336, allocations: 39.75 kB / 0.8264 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4337, allocations: 125.5 kB / 0.8265 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.4338, allocations: 322.8 kB / 0.8269 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.434, allocations: 119.9 kB / 0.827 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4341, allocations: 169.9 kB / 0.8271 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.4344, allocations: 272.7 kB / 0.8274 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4344, allocations: 8 kB / 0.8274 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004659/0.4348, allocations: 0.4927 MB / 0.8279 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.4349, allocations: 91.31 kB / 0.828 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4349, allocations: 7.938 kB / 0.828 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4349, allocations: 0 / 0.828 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.435, allocations: 27.92 kB / 0.828 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.435, allocations: 4 kB / 0.828 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.4352, allocations: 60.05 kB / 0.8281 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.4353, allocations: 59.97 kB / 0.8281 GB, free: 5.012 MB / 0.6042 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.00013/0.4354, allocations: 194.7 kB / 0.8283 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.4354, allocations: 39.7 kB / 0.8283 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.4355, allocations: 43.67 kB / 0.8284 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4355, allocations: 4 kB / 0.8284 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4355, allocations: 4 kB / 0.8284 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.4355, allocations: 0 / 0.8284 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.4368, allocations: 0.7161 MB / 0.8291 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4368, allocations: 0 / 0.8291 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.4368, allocations: 8 kB / 0.8291 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4368, allocations: 0 / 0.8291 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4368, allocations: 23.91 kB / 0.8291 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4368, allocations: 0 / 0.8291 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4368, allocations: 0 / 0.8291 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.4376, allocations: 486.1 kB / 0.8296 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.4377, allocations: 133.5 kB / 0.8297 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.4378, allocations: 8 kB / 0.8297 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.438, allocations: 31.97 kB / 0.8298 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.438, allocations: 7.984 kB / 0.8298 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.438, allocations: 63.97 kB / 0.8298 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001724/0.4382, allocations: 303 kB / 0.8301 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.4382, allocations: 0 / 0.8301 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000202/0.4384, allocations: 67.98 kB / 0.8302 GB, free: 2.832 MB / 0.6042 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 8.592e-05/0.4385, allocations: 117.5 kB / 0.8303 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.4391, allocations: 402.7 kB / 0.8307 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4391, allocations: 0 / 0.8307 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.4394, allocations: 103.9 kB / 0.8308 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4396, allocations: 33.56 kB / 0.8308 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.4404, allocations: 0.5978 MB / 0.8314 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.4406, allocations: 0.7821 MB / 0.8322 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.4407, allocations: 23.42 kB / 0.8322 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.4407, allocations: 0 / 0.8322 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of Templates: time 0.003533/0.4442, allocations: 3.73 MB / 0.8358 GB, free: 12.94 MB / 0.6198 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: 5.498022377956659] Failed to read output from testmodel.py, exit status != 0: 0.449589456198737 0.45674543799999995 0.026546466 Calling exit ...