Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007648/0.0007648, allocations: 84.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.0007918/0.0007918, allocations: 169.6 kB / 23.19 MB, free: 1.375 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.8882/0.8882, allocations: 177.2 MB / 203.6 MB, free: 5.785 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.7319/0.7319, allocations: 154.9 MB / 414.9 MB, free: 0.5195 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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008788/0.0008788, allocations: 67.91 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.4575/0.4584, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001535/0.46, allocations: 0.8409 MB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.4623, allocations: 2.409 MB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.4624, allocations: 5.094 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.4625, allocations: 16.55 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.4627, allocations: 46.52 kB / 0.7226 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.4639, allocations: 0.4913 MB / 0.7231 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.4643, allocations: 319.4 kB / 0.7234 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.561e-05/0.4643, allocations: 17.73 kB / 0.7235 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.4647, allocations: 209.9 kB / 0.7237 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.4649, allocations: 142.2 kB / 0.7238 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.4649, allocations: 23.03 kB / 0.7238 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006703/0.4656, allocations: 383 kB / 0.7242 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.4657, allocations: 66.47 kB / 0.7242 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.4658, allocations: 101 kB / 0.7243 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008554/0.4666, allocations: 0.6716 MB / 0.725 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4666, allocations: 5.219 kB / 0.725 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4666, allocations: 0 / 0.725 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4667, 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.001021/0.4677, allocations: 0.6028 MB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4677, allocations: 10.94 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.4683, allocations: 90.75 kB / 0.7257 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.4684, allocations: 139.8 kB / 0.7258 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.4685, allocations: 236.6 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.4686, allocations: 22.14 kB / 0.7261 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.4689, allocations: 241 kB / 0.7263 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4689, allocations: 5.469 kB / 0.7263 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4689, allocations: 10.78 kB / 0.7263 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4689, allocations: 8.828 kB / 0.7263 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.4691, allocations: 112.2 kB / 0.7264 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.4693, allocations: 288.4 kB / 0.7267 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/0.4702, allocations: 480.8 kB / 0.7272 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.4703, allocations: 155.8 kB / 0.7273 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.4704, allocations: 10.97 kB / 0.7273 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.4708, allocations: 319.8 kB / 0.7276 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.4708, allocations: 0 / 0.7276 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0006678/0.4714, allocations: 419.2 kB / 0.728 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.4715, allocations: 353.4 kB / 0.7284 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4716, allocations: 168.3 kB / 0.7285 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4716, allocations: 43.67 kB / 0.7286 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.4717, allocations: 94.81 kB / 0.7286 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.4717, allocations: 119.2 kB / 0.7288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4718, allocations: 96.06 kB / 0.7289 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.4719, allocations: 330.7 kB / 0.7292 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4721, allocations: 116.3 kB / 0.7293 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.4723, allocations: 163.3 kB / 0.7294 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.4727, allocations: 265.4 kB / 0.7297 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4727, allocations: 0 / 0.7297 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005196/0.4732, allocations: 380.4 kB / 0.7301 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4732, allocations: 9.25 kB / 0.7301 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4732, allocations: 1.75 kB / 0.7301 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4732, allocations: 7.156 kB / 0.7301 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.4735, allocations: 77.62 kB / 0.7301 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.4735, allocations: 2.219 kB / 0.7301 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.4737, allocations: 58.27 kB / 0.7302 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.4737, allocations: 24.94 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.000112/0.4739, allocations: 149.3 kB / 0.7304 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.4739, allocations: 29.64 kB / 0.7304 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.4744, allocations: 365.8 kB / 0.7307 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4744, allocations: 7.844 kB / 0.7308 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4744, allocations: 1.375 kB / 0.7308 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4746, allocations: 68.48 kB / 0.7308 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.4746, allocations: 21.59 kB / 0.7308 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4748, allocations: 30.3 kB / 0.7309 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4749, allocations: 59.72 kB / 0.7309 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007159/0.4756, allocations: 1.323 MB / 0.7322 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008218/0.4764, allocations: 1.393 MB / 0.7336 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000246/0.4767, allocations: 138.4 kB / 0.7337 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001026/0.4768, allocations: 132.5 kB / 0.7338 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of Backend: time 7.21e-07/0.4768, allocations: 0 / 0.7338 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.4787, allocations: 484 kB / 0.7343 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001113/0.4799, allocations: 0.8277 MB / 0.7351 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.01147/0.4913, allocations: 6.326 MB / 0.7413 GB, free: 12.12 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.293773913988844] Failed to read output from testmodel.py, exit status != 0: 0.49764245096594095 0.5135602490000001 0.044354816000000005 Calling exit ...