Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001216/0.001216, allocations: 80.77 kB / 19.95 MB, free: 1.945 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.001266/0.001266, allocations: 166.2 kB / 23.22 MB, free: 4.961 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.332/1.332, allocations: 177.2 MB / 203.6 MB, free: 9.188 MB / 190.1 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 1.126/1.126, allocations: 155 MB / 415 MB, free: 4.949 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 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.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.778e-05, allocations: 4.672 kB / 0.6198 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001748/0.001766, allocations: 0.8338 MB / 0.6206 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.004977, allocations: 2.416 MB / 0.623 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.005041, allocations: 0 / 0.623 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.005084, allocations: 15.8 kB / 0.623 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.005281, allocations: 47.61 kB / 0.623 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.006265, allocations: 0.4981 MB / 0.6235 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.006623, allocations: 331.1 kB / 0.6238 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.006687, allocations: 17.75 kB / 0.6239 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.00706, allocations: 207.6 kB / 0.6241 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.007249, allocations: 123.7 kB / 0.6242 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.007301, allocations: 24 kB / 0.6242 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.007892, allocations: 375.6 kB / 0.6246 GB, free: 15.37 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0003445/0.008237, allocations: 408.9 kB / 0.6249 GB, free: 14.97 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001287/0.008366, allocations: 181.6 kB / 0.6251 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.008404, allocations: 16 kB / 0.6251 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.906e-05/0.008424, allocations: 7.938 kB / 0.6251 GB, free: 14.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (32) * Number of variables: 32 (32) Notification: Performance of [SIM] Bindings: time 0.001245/0.009668, allocations: 1.12 MB / 0.6262 GB, free: 13.52 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003208/0.009989, allocations: 247.3 kB / 0.6265 GB, free: 13.27 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001023/0.01101, allocations: 0.948 MB / 0.6274 GB, free: 12.3 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0003026/0.01132, allocations: 217.7 kB / 0.6276 GB, free: 12.04 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.001194/0.01251, allocations: 0.8636 MB / 0.6284 GB, free: 11.08 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003138/0.01282, allocations: 232.8 kB / 0.6287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0001316/0.01295, allocations: 125.6 kB / 0.6288 GB, free: 10.66 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0004702/0.01342, allocations: 427.2 kB / 0.6292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0001726/0.0136, allocations: 123.5 kB / 0.6293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0006205/0.01422, allocations: 0.5567 MB / 0.6299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.000748/0.01497, allocations: 0.5811 MB / 0.6304 GB, free: 8.707 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006872/0.01565, allocations: 0.7882 MB / 0.6312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0006054/0.01626, allocations: 450.5 kB / 0.6316 GB, free: 7.422 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0009926/0.01725, allocations: 1.121 MB / 0.6327 GB, free: 6.297 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 4.058e-05/0.01729, allocations: 26.73 kB / 0.6327 GB, free: 6.262 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0002304/0.01752, allocations: 243.6 kB / 0.633 GB, free: 6.023 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.001223/0.01875, allocations: 0.9062 MB / 0.6339 GB, free: 5.109 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 2.436e-05/0.01877, allocations: 24 kB / 0.6339 GB, free: 5.086 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01877, allocations: 4 kB / 0.6339 GB, free: 5.082 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 6.933e-06/0.01878, allocations: 3.984 kB / 0.6339 GB, free: 5.078 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.9e-05/0.0188, allocations: 23.94 kB / 0.6339 GB, free: 5.055 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.401e-05/0.01881, allocations: 7.938 kB / 0.6339 GB, free: 5.047 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.001229/0.02004, allocations: 0.9493 MB / 0.6349 GB, free: 4.109 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 1.052e-05/0.02005, allocations: 3.938 kB / 0.6349 GB, free: 4.105 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.61e-07/0.02005, allocations: 4 kB / 0.6349 GB, free: 4.102 MB / 0.545 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 8 (8) {sunRiseSetSyd.nextSunSet, sunRiseSetSyd.nextSunRise, sunRiseSetAntarctic.nextSunSet, sunRiseSetAntarctic.nextSunRise, sunRiseSetSf.nextSunSet, sunRiseSetSf.nextSunRise, sunRiseSetArctic.nextSunSet, sunRiseSetArctic.nextSunRise} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {sunRiseSetArctic.sunUp, sunRiseSetSf.sunUp, sunRiseSetAntarctic.sunUp, sunRiseSetSyd.sunUp, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:56, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001144/0.02016, allocations: 57.62 kB / 0.6349 GB, free: 4.055 MB / 0.545 GB Notification: Performance of SimCode: time 0.002107/0.02227, allocations: 1.427 MB / 0.6363 GB, free: 2.605 MB / 0.545 GB Notification: Performance of Templates: time 0.009794/0.03207, allocations: 5.42 MB / 0.6416 GB, free: 13.23 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.408961547538638] Failed to read output from testmodel.py, exit status != 0: 0.039507705718278885 0.052404663000000004 0.041219122000000004 Calling exit ...