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.001114/0.001114, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001942/0.001942, allocations: 173 kB / 23.36 MB, free: 1.129 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.066/1.066, allocations: 177.2 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.8513/0.8513, allocations: 154.9 MB / 415.1 MB, free: 220 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.422e-06/1.422e-06, allocations: 0 / 480.3 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.385e-05, allocations: 6.203 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001279/0.001293, allocations: 0.8971 MB / 481.3 MB, free: 5.672 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.003383, allocations: 2.488 MB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.003432, allocations: 0 / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.00346, allocations: 11.81 kB / 483.8 MB, free: 3.184 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.003628, allocations: 60.41 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.004188, allocations: 479.3 kB / 484.3 MB, free: 2.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.004409, allocations: 323 kB / 484.6 MB, free: 2.344 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.004446, allocations: 10.45 kB / 484.6 MB, free: 2.332 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.004692, allocations: 205.5 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.004825, allocations: 124.6 kB / 484.9 MB, free: 2.012 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.004856, allocations: 24 kB / 484.9 MB, free: 1.988 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.005295, allocations: 424.2 kB / 485.4 MB, free: 1.574 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.005343, allocations: 68.86 kB / 485.4 MB, free: 1.508 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.005408, allocations: 87.78 kB / 485.5 MB, free: 1.422 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.005896, allocations: 0.5802 MB / 486.1 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005899, allocations: 4.875 kB / 486.1 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0059, allocations: 0 / 486.1 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.005903, allocations: 0 / 486.1 MB, free: 0.8359 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.0006461/0.006549, allocations: 0.5697 MB / 486.7 MB, free: 260 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.006579, allocations: 8.031 kB / 486.7 MB, free: 252 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005825/0.007162, allocations: 139 kB / 486.8 MB, free: 116 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.007267, allocations: 142.2 kB / 487 MB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.007383, allocations: 231.3 kB / 487.2 MB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.007408, allocations: 16.38 kB / 487.2 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.007589, allocations: 204.3 kB / 487.4 MB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007598, allocations: 6.438 kB / 487.4 MB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.007612, allocations: 12.12 kB / 487.4 MB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007618, allocations: 4 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.007704, allocations: 67.73 kB / 487.5 MB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.007909, allocations: 203.1 kB / 487.7 MB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.008561, allocations: 419.9 kB / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/0.008651, allocations: 106.3 kB / 488.2 MB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.008673, allocations: 16 kB / 488.2 MB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.008892, allocations: 272.2 kB / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.373e-06/0.008893, allocations: 0 / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003052/0.009199, allocations: 247.2 kB / 488.7 MB, free: 13.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.009302, allocations: 346.1 kB / 489.1 MB, free: 13.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.009393, allocations: 177 kB / 489.2 MB, free: 13.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.009422, allocations: 42.52 kB / 489.3 MB, free: 13.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.009456, allocations: 105 kB / 489.4 MB, free: 13.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.009524, allocations: 115.2 kB / 489.5 MB, free: 12.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.009612, allocations: 99.16 kB / 489.6 MB, free: 12.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.009686, allocations: 326.8 kB / 489.9 MB, free: 12.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.009782, allocations: 66.53 kB / 490 MB, free: 12.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.009874, allocations: 100.6 kB / 490.1 MB, free: 12.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.01005, allocations: 177.8 kB / 490.2 MB, free: 12.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01006, allocations: 4 kB / 490.2 MB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000224/0.01028, allocations: 213.9 kB / 490.5 MB, free: 11.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01029, allocations: 8 kB / 490.5 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.0103, allocations: 0.5 kB / 490.5 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.01031, allocations: 4 kB / 490.5 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.01052, allocations: 100.8 kB / 490.6 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01053, allocations: 3.938 kB / 490.6 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01063, allocations: 44.55 kB / 490.6 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.01065, allocations: 11.98 kB / 490.6 MB, free: 11.82 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.155e-05/0.01074, allocations: 146.6 kB / 490.8 MB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.01078, allocations: 35.59 kB / 490.8 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.01109, allocations: 259.1 kB / 491.1 MB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01109, allocations: 8 kB / 491.1 MB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.0111, allocations: 5.875 kB / 491.1 MB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.0111, allocations: 11.92 kB / 491.1 MB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01129, allocations: 185.3 kB / 491.3 MB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.01129, allocations: 4 kB / 491.3 MB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.01145, allocations: 75.91 kB / 491.3 MB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.01145, allocations: 8.609 kB / 491.3 MB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01147, allocations: 12 kB / 491.4 MB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.01148, allocations: 12.69 kB / 491.4 MB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01148, allocations: 4.531 kB / 491.4 MB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.01174, allocations: 339.6 kB / 491.7 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.01183, allocations: 55.66 kB / 491.8 MB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.01187, allocations: 19.98 kB / 491.8 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01197, allocations: 29.05 kB / 491.8 MB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.01205, allocations: 55.78 kB / 491.9 MB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.01207, allocations: 12.66 kB / 491.9 MB, free: 10.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.01211, allocations: 49.33 kB / 491.9 MB, free: 10.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 1.469 kB / 491.9 MB, free: 10.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.01246, allocations: 231.2 kB / 492.1 MB, free: 10.23 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.000379/0.01284, allocations: 351.8 kB / 492.5 MB, free: 9.883 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01308, allocations: 221.2 kB / 492.7 MB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01309, allocations: 0 / 492.7 MB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.01321, allocations: 142.6 kB / 492.8 MB, free: 9.523 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.01336, allocations: 40.7 kB / 492.9 MB, free: 9.488 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.01407, allocations: 0.5154 MB / 493.4 MB, free: 8.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.786e-05/0.01412, allocations: 102.8 kB / 493.5 MB, free: 8.801 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.01426, allocations: 57.52 kB / 493.6 MB, free: 8.754 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.01439, allocations: 99.36 kB / 493.7 MB, free: 8.656 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01439, allocations: 1.438 kB / 493.7 MB, free: 8.656 MB / 458.7 MB Notification: Performance of Templates: time 0.007556/0.02195, allocations: 6.424 MB / 0.4884 GB, free: 2.578 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8317299289628863]