Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0007919/0.0007919, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008003/0.0008003, allocations: 173.2 kB / 23.2 MB, free: 1.367 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 0.8818/0.8818, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-531:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7409/0.7409, allocations: 154.9 MB / 414.9 MB, free: 0.5234 MB / 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [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.0008956/0.0008956, allocations: 72.97 kB / 0.6198 GB, free: 12.8 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4749, allocations: 102 MB / 0.7194 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001402/0.4763, allocations: 0.8291 MB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.4782, allocations: 2.412 MB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.4783, allocations: 5.156 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.4784, allocations: 13.08 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.4785, allocations: 50.28 kB / 0.7226 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.4793, allocations: 0.4956 MB / 0.7231 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.4795, allocations: 315.6 kB / 0.7234 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.4796, allocations: 16.77 kB / 0.7234 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.4799, allocations: 210.6 kB / 0.7236 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.4801, allocations: 143.3 kB / 0.7238 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.4801, allocations: 23.44 kB / 0.7238 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.4806, allocations: 382 kB / 0.7242 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.4807, allocations: 66.3 kB / 0.7242 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.4808, allocations: 100.7 kB / 0.7243 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.4814, allocations: 0.673 MB / 0.725 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4814, allocations: 0 / 0.725 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4814, allocations: 0 / 0.725 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4814, allocations: 0 / 0.725 GB, free: 20.31 MB / 0.6355 GB 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.0008218/0.4823, allocations: 0.6063 MB / 0.7256 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4823, allocations: 11.66 kB / 0.7256 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005921/0.4829, allocations: 91.47 kB / 0.7257 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.483, allocations: 142.2 kB / 0.7258 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4831, allocations: 232 kB / 0.726 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.4831, allocations: 23.42 kB / 0.7261 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.4834, allocations: 245 kB / 0.7263 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4834, allocations: 1.344 kB / 0.7263 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4834, allocations: 10.06 kB / 0.7263 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4834, allocations: 5.344 kB / 0.7263 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.4836, allocations: 115.7 kB / 0.7264 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.4839, allocations: 289.1 kB / 0.7267 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.485, allocations: 479.6 kB / 0.7271 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.4852, allocations: 148.5 kB / 0.7273 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.4853, allocations: 15.58 kB / 0.7273 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/0.4858, allocations: 324.4 kB / 0.7276 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 2.836e-06/0.4858, allocations: 0 / 0.7276 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.00092/0.4867, allocations: 421.7 kB / 0.728 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.4868, allocations: 354.2 kB / 0.7284 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4869, allocations: 164.6 kB / 0.7285 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.4869, allocations: 39.8 kB / 0.7285 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.487, allocations: 94.45 kB / 0.7286 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.274e-05/0.4871, allocations: 122.8 kB / 0.7288 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4872, allocations: 95.72 kB / 0.7288 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.4872, allocations: 331.3 kB / 0.7292 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.4875, allocations: 116.4 kB / 0.7293 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.4878, allocations: 167.2 kB / 0.7294 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.4882, allocations: 261 kB / 0.7297 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4882, allocations: 0 / 0.7297 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006882/0.4889, allocations: 387.4 kB / 0.7301 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4889, allocations: 12.55 kB / 0.7301 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4889, allocations: 1.031 kB / 0.7301 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.489, allocations: 3.125 kB / 0.7301 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.4893, allocations: 81.41 kB / 0.7301 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.4893, allocations: 4 kB / 0.7302 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4895, allocations: 53.25 kB / 0.7302 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.4895, allocations: 19.7 kB / 0.7302 GB, free: 16.5 MB / 0.6355 GB 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 0.0001269/0.4896, allocations: 155.6 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.4897, allocations: 33.42 kB / 0.7304 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.4903, allocations: 360 kB / 0.7307 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.4904, allocations: 5.516 kB / 0.7307 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4904, allocations: 3.875 kB / 0.7308 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.4905, allocations: 68.48 kB / 0.7308 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.4906, allocations: 21.48 kB / 0.7308 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4908, allocations: 29.77 kB / 0.7309 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4909, allocations: 56.58 kB / 0.7309 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007535/0.4916, allocations: 1.324 MB / 0.7322 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007192/0.4924, allocations: 1.389 MB / 0.7336 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002479/0.4926, allocations: 145.4 kB / 0.7337 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.64e-05/0.4927, allocations: 132.7 kB / 0.7338 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of Backend: time 4.81e-07/0.4927, allocations: 3.938 kB / 0.7338 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.4948, allocations: 479.5 kB / 0.7343 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008396/0.4956, allocations: 0.8353 MB / 0.7351 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.01126/0.5069, allocations: 6.309 MB / 0.7413 GB, free: 12.11 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.301152928033844] Failed to read output from testmodel.py, exit status != 0: 0.5126332661602646 0.5214107880000001 0.037989639000000006 Calling exit ...