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.0009341/0.0009341, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00102/0.00102, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.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-535:34: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-535:42: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.899/0.899, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 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 - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 480.3 MB, free: 6.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.391e-05, allocations: 4.562 kB / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001252/0.001266, allocations: 0.8433 MB / 481.2 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.003793, allocations: 2.491 MB / 483.7 MB, free: 3.301 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.003865, allocations: 0 / 483.7 MB, free: 3.301 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.003899, allocations: 11.81 kB / 483.7 MB, free: 3.289 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.004136, allocations: 59.44 kB / 483.7 MB, free: 3.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008313/0.004967, allocations: 0.503 MB / 484.2 MB, free: 2.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.005229, allocations: 323.6 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.005271, allocations: 19.16 kB / 484.6 MB, free: 2.395 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.005508, allocations: 193.2 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005642, allocations: 128.6 kB / 484.9 MB, free: 2.082 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.005674, allocations: 24 kB / 484.9 MB, free: 2.059 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.006133, allocations: 384.4 kB / 485.3 MB, free: 1.684 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.006184, allocations: 71.77 kB / 485.3 MB, free: 1.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.006255, allocations: 88.84 kB / 485.4 MB, free: 1.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.006962, allocations: 0.5802 MB / 486 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006964, allocations: 0 / 486 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.006964, allocations: 0.625 kB / 486 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.006967, allocations: 0 / 486 MB, free: 0.9453 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006897/0.007657, allocations: 0.5687 MB / 486.6 MB, free: 372 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.007687, allocations: 12.62 kB / 486.6 MB, free: 360 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005225/0.008209, allocations: 143.1 kB / 486.7 MB, free: 220 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.0083, allocations: 136 kB / 486.9 MB, free: 56 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.008419, allocations: 230.2 kB / 487.1 MB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.008453, allocations: 24.36 kB / 487.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.008622, allocations: 204.3 kB / 487.3 MB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008632, allocations: 5.062 kB / 487.3 MB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.008648, allocations: 12.84 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.008654, allocations: 4 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.00874, allocations: 62.06 kB / 487.4 MB, free: 15.44 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.00896, allocations: 196.4 kB / 487.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.009606, allocations: 426 kB / 488 MB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.394e-05/0.0097, allocations: 115.3 kB / 488.1 MB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.009728, allocations: 8 kB / 488.1 MB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.00994, allocations: 279.5 kB / 488.4 MB, free: 14.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.009942, allocations: 1.875 kB / 488.4 MB, free: 14.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003007/0.01024, allocations: 237.2 kB / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003734/0.01062, allocations: 355.7 kB / 489 MB, free: 13.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.01071, allocations: 173 kB / 489.1 MB, free: 13.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.01074, allocations: 37.7 kB / 489.2 MB, free: 13.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.01078, allocations: 101 kB / 489.3 MB, free: 13.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.01084, allocations: 119.2 kB / 489.4 MB, free: 13.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.01093, allocations: 95.44 kB / 489.5 MB, free: 13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.011, allocations: 334.8 kB / 489.8 MB, free: 12.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.01109, allocations: 61.66 kB / 489.9 MB, free: 12.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.01118, allocations: 112.9 kB / 490 MB, free: 12.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.01135, allocations: 170.1 kB / 490.2 MB, free: 12.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01135, allocations: 0 / 490.2 MB, free: 12.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002184/0.01157, allocations: 213.5 kB / 490.4 MB, free: 12.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.01158, allocations: 5.312 kB / 490.4 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01159, allocations: 3.938 kB / 490.4 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.0116, allocations: 4 kB / 490.4 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.01179, allocations: 93.23 kB / 490.5 MB, free: 12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01179, allocations: 7.938 kB / 490.5 MB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.0119, allocations: 39.77 kB / 490.5 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.01192, allocations: 12.77 kB / 490.5 MB, free: 11.94 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 9.118e-05/0.01201, allocations: 144 kB / 490.7 MB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.01205, allocations: 35.91 kB / 490.7 MB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01234, allocations: 262.7 kB / 491 MB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.01235, allocations: 8.75 kB / 491 MB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01235, allocations: 4 kB / 491 MB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.01236, allocations: 17.48 kB / 491 MB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.01254, allocations: 189.3 kB / 491.2 MB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01255, allocations: 0 / 491.2 MB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01268, allocations: 71.91 kB / 491.2 MB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.01269, allocations: 5.219 kB / 491.2 MB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.01271, allocations: 16.55 kB / 491.3 MB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.01271, allocations: 11.94 kB / 491.3 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01271, allocations: 0 / 491.3 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.01297, allocations: 342 kB / 491.6 MB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.01306, allocations: 55.66 kB / 491.7 MB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.01309, allocations: 16 kB / 491.7 MB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.01319, allocations: 33.09 kB / 491.7 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.01325, allocations: 51.8 kB / 491.8 MB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01327, allocations: 16.61 kB / 491.8 MB, free: 10.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.0133, allocations: 51.11 kB / 491.8 MB, free: 10.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0133, allocations: 0 / 491.8 MB, free: 10.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.01367, allocations: 231.2 kB / 492.1 MB, free: 10.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003497/0.01402, allocations: 344.6 kB / 492.4 MB, free: 10 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.01426, allocations: 221.1 kB / 492.6 MB, free: 9.781 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01426, allocations: 3.938 kB / 492.6 MB, free: 9.777 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01439, allocations: 141.5 kB / 492.7 MB, free: 9.637 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.01452, allocations: 39.92 kB / 492.8 MB, free: 9.598 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.0152, allocations: 0.5113 MB / 493.3 MB, free: 9.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/0.01526, allocations: 101.8 kB / 493.4 MB, free: 8.914 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.01537, allocations: 51.52 kB / 493.4 MB, free: 8.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.0155, allocations: 108.4 kB / 493.6 MB, free: 8.77 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0155, allocations: 0 / 493.6 MB, free: 8.77 MB / 458.7 MB Notification: Performance of Templates: time 0.007598/0.0231, allocations: 6.436 MB / 500 MB, free: 2.688 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.899965262040496]