Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008277/0.0008277, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.0008404/0.0008404, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9101/0.9101, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7368/0.7368, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.001242/0.001242, allocations: 75.14 kB / 0.6195 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4822/0.4835, allocations: 101.9 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001635/0.4851, allocations: 0.8417 MB / 0.7199 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.4874, allocations: 2.406 MB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.4875, allocations: 1.156 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.4876, allocations: 12.38 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.4878, allocations: 61.75 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.4889, allocations: 499.7 kB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.4893, allocations: 319.8 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.4893, allocations: 13.47 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.4897, allocations: 214.7 kB / 0.7233 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.4898, allocations: 136.8 kB / 0.7235 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.4899, allocations: 23.47 kB / 0.7235 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.4909, allocations: 383.7 kB / 0.7238 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.491, allocations: 69.7 kB / 0.7239 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.4912, allocations: 105.1 kB / 0.724 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.4922, allocations: 0.6646 MB / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4922, allocations: 0 / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4922, allocations: 5.156 kB / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4922, allocations: 3.938 kB / 0.7247 GB, free: 20.5 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.001432/0.4936, allocations: 0.6062 MB / 0.7253 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.4937, allocations: 8.5 kB / 0.7253 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.4944, allocations: 92.02 kB / 0.7254 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4945, allocations: 134.6 kB / 0.7255 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.4947, allocations: 236.8 kB / 0.7257 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.4947, allocations: 18.42 kB / 0.7257 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.4951, allocations: 245.5 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4951, allocations: 3.938 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.4952, allocations: 7.984 kB / 0.726 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4952, allocations: 4.562 kB / 0.726 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.4954, allocations: 109 kB / 0.7261 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.4957, allocations: 296.1 kB / 0.7264 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/0.4965, allocations: 484.7 kB / 0.7268 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.4967, allocations: 147.2 kB / 0.727 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.4967, allocations: 19.64 kB / 0.727 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.4972, allocations: 316.2 kB / 0.7273 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 2.314e-06/0.4972, allocations: 0 / 0.7273 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0008277/0.4981, allocations: 419.3 kB / 0.7277 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.4982, allocations: 352.8 kB / 0.728 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4983, allocations: 173.2 kB / 0.7282 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.4983, allocations: 40.7 kB / 0.7282 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.4984, allocations: 94.25 kB / 0.7283 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.4985, allocations: 123.3 kB / 0.7284 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4986, allocations: 94.86 kB / 0.7285 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.4987, allocations: 335.2 kB / 0.7288 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.4989, allocations: 112.1 kB / 0.729 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.4992, allocations: 167.7 kB / 0.7291 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.4995, allocations: 268 kB / 0.7294 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4995, allocations: 0 / 0.7294 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005477/0.5001, allocations: 383.6 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5001, allocations: 9.25 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5001, allocations: 1.719 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5001, allocations: 3.562 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5004, allocations: 80.98 kB / 0.7298 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5004, allocations: 2.656 kB / 0.7298 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.5005, allocations: 49.19 kB / 0.7299 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.5005, allocations: 21.22 kB / 0.7299 GB, free: 16.69 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.0001057/0.5006, allocations: 158.6 kB / 0.73 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.5007, allocations: 28.78 kB / 0.7301 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.5012, allocations: 360.6 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.5012, allocations: 10.02 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5012, allocations: 3.453 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.5013, allocations: 69.02 kB / 0.7305 GB, free: 16.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.5014, allocations: 21.39 kB / 0.7305 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.5015, allocations: 33.22 kB / 0.7305 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5016, allocations: 55.98 kB / 0.7306 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006854/0.5023, allocations: 1.32 MB / 0.7319 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007415/0.503, allocations: 1.389 MB / 0.7332 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002126/0.5033, allocations: 150.6 kB / 0.7334 GB, free: 14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.5033, allocations: 128.8 kB / 0.7335 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of Backend: time 4.51e-07/0.5033, allocations: 0 / 0.7335 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.505, allocations: 479.7 kB / 0.734 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005816/0.5056, allocations: 0.8333 MB / 0.7348 GB, free: 13 MB / 0.6355 GB Notification: Performance of Templates: time 0.009364/0.5149, allocations: 6.31 MB / 0.7409 GB, free: 12.29 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4537431199569255] Failed to read output from testmodel.py, exit status != 0: 0.5212275560479611 0.529047965 0.034927563 Calling exit ...