Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.0007731/0.0007731, allocations: 76.52 kB / 19.91 MB, free: 4.641 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.0008085/0.0008085, allocations: 169.2 kB / 23.2 MB, free: 1.359 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.9152/0.9152, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7505/0.7505, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [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.001356/0.001356, allocations: 71.89 kB / 0.6195 GB, free: 13.16 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.4988/0.5002, 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.SunRiseSetPositiveStartTime): time 0.001615/0.5018, allocations: 0.8478 MB / 0.7199 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.504, allocations: 2.405 MB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.5041, allocations: 1.219 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.5042, allocations: 16.42 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.5044, allocations: 53.89 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009145/0.5053, allocations: 498.2 kB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.5056, allocations: 324.2 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.773e-05/0.5057, allocations: 9.547 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.5061, allocations: 210.7 kB / 0.7233 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.5063, allocations: 137.8 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.5063, allocations: 23.38 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.5072, allocations: 388.2 kB / 0.7238 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.5072, allocations: 68.03 kB / 0.7239 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.5074, allocations: 103.2 kB / 0.724 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.5085, allocations: 0.6673 MB / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5085, allocations: 0 / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5085, allocations: 4 kB / 0.7247 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.5085, 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.001067/0.5095, allocations: 0.5995 MB / 0.7253 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.5096, allocations: 9.25 kB / 0.7253 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.5105, allocations: 94.69 kB / 0.7254 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5106, allocations: 139.2 kB / 0.7255 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.5108, allocations: 237 kB / 0.7257 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.5109, allocations: 17.97 kB / 0.7257 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.5114, allocations: 241.2 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5114, allocations: 1.531 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.5114, allocations: 6.281 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5114, allocations: 12.88 kB / 0.726 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.5117, allocations: 112.5 kB / 0.7261 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.5121, allocations: 290.1 kB / 0.7264 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5133, allocations: 480.2 kB / 0.7268 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.5135, allocations: 158.6 kB / 0.727 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.5136, allocations: 15.56 kB / 0.727 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.5141, allocations: 320 kB / 0.7273 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.5141, allocations: 0 / 0.7273 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0008722/0.515, allocations: 415.6 kB / 0.7277 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.5151, allocations: 353.5 kB / 0.728 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.5152, allocations: 168 kB / 0.7282 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.5152, allocations: 48.89 kB / 0.7282 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.5153, allocations: 98.09 kB / 0.7283 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/0.5154, allocations: 115 kB / 0.7284 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.5155, allocations: 95 kB / 0.7285 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.5156, allocations: 331.2 kB / 0.7288 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.5158, allocations: 116.5 kB / 0.729 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.5162, allocations: 167.1 kB / 0.7291 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.5167, allocations: 266.2 kB / 0.7294 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5167, allocations: 4 kB / 0.7294 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008225/0.5175, allocations: 375.9 kB / 0.7297 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5175, allocations: 12.22 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5175, allocations: 1.312 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5175, allocations: 2.703 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.5179, allocations: 81.2 kB / 0.7298 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.5179, allocations: 3.922 kB / 0.7298 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5181, allocations: 57.97 kB / 0.7299 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.5182, allocations: 23.75 kB / 0.7299 GB, free: 16.68 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.0001346/0.5183, allocations: 149.4 kB / 0.73 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.5184, allocations: 28.78 kB / 0.7301 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.519, allocations: 365.5 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.519, allocations: 5.531 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.519, allocations: 3.344 kB / 0.7304 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.5192, allocations: 69.75 kB / 0.7305 GB, free: 16.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.5193, allocations: 20.48 kB / 0.7305 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.5194, allocations: 26.59 kB / 0.7305 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5196, allocations: 63.73 kB / 0.7306 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007463/0.5203, allocations: 1.324 MB / 0.7319 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007087/0.521, allocations: 1.385 MB / 0.7333 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002405/0.5213, allocations: 150.5 kB / 0.7334 GB, free: 14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.411e-05/0.5213, allocations: 128.4 kB / 0.7335 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of Backend: time 3.51e-07/0.5213, allocations: 0 / 0.7335 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.5232, allocations: 486.2 kB / 0.734 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000627/0.5238, allocations: 0.8318 MB / 0.7348 GB, free: 13 MB / 0.6355 GB Notification: Performance of Templates: time 0.009832/0.5337, allocations: 6.298 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.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.449408776126802] Failed to read output from testmodel.py, exit status != 0: 0.5400568910408765 0.548549638 0.037919187 Calling exit ...