Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001004/0.001004, 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.001261/0.001261, 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.9138/0.9138, 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 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.7555/0.7555, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [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.0009392/0.0009392, allocations: 67.89 kB / 0.6195 GB, free: 12.07 MB / 0.5417 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.4933/0.4943, allocations: 102 MB / 0.7191 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001825/0.4961, allocations: 0.8327 MB / 0.7199 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.4985, allocations: 2.419 MB / 0.7223 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4986, allocations: 0 / 0.7223 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.792e-05/0.4986, allocations: 11.81 kB / 0.7223 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.4989, allocations: 51.5 kB / 0.7223 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.4998, allocations: 0.4933 MB / 0.7228 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.5001, allocations: 315.1 kB / 0.7231 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.5002, allocations: 13.81 kB / 0.7231 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.5006, allocations: 211.5 kB / 0.7233 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.5008, allocations: 135.5 kB / 0.7234 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.5008, allocations: 24 kB / 0.7235 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.5014, allocations: 387.5 kB / 0.7238 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.5015, allocations: 75.8 kB / 0.7239 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.5016, allocations: 103.6 kB / 0.724 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.5025, allocations: 0.6737 MB / 0.7247 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.5025, allocations: 3.938 kB / 0.7247 GB, free: 8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.607e-06/0.5025, allocations: 3.938 kB / 0.7247 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5025, allocations: 0 / 0.7247 GB, free: 7.996 MB / 0.6042 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.504, allocations: 0.6 MB / 0.7253 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.504, allocations: 8.031 kB / 0.7253 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.5046, allocations: 92.72 kB / 0.7254 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5047, allocations: 135.7 kB / 0.7255 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.5049, allocations: 238.1 kB / 0.7257 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.5049, allocations: 20.38 kB / 0.7257 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.5052, allocations: 243.9 kB / 0.726 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5052, allocations: 4 kB / 0.726 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5052, allocations: 4 kB / 0.726 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5052, allocations: 4 kB / 0.726 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.5054, allocations: 119.7 kB / 0.7261 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.5057, allocations: 283 kB / 0.7264 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.5065, allocations: 491.3 kB / 0.7268 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.5066, allocations: 150.1 kB / 0.727 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.5067, allocations: 7.984 kB / 0.727 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.507, allocations: 324.3 kB / 0.7273 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.507, allocations: 3.938 kB / 0.7273 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006255/0.5077, allocations: 426.6 kB / 0.7277 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5078, allocations: 350.1 kB / 0.728 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5079, allocations: 167.2 kB / 0.7282 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.5079, allocations: 41.7 kB / 0.7282 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.508, allocations: 97.12 kB / 0.7283 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.5081, allocations: 115.1 kB / 0.7284 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.5082, allocations: 98.16 kB / 0.7285 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.5083, allocations: 326.8 kB / 0.7288 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.5084, allocations: 125.3 kB / 0.729 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.5086, allocations: 172.3 kB / 0.7291 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.509, allocations: 258.6 kB / 0.7294 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.509, allocations: 0 / 0.7294 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004658/0.5095, allocations: 380.7 kB / 0.7297 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5095, allocations: 7.938 kB / 0.7297 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5095, allocations: 0 / 0.7297 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5095, allocations: 4 kB / 0.7297 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.5097, allocations: 83.88 kB / 0.7298 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5097, allocations: 3.938 kB / 0.7298 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5098, allocations: 55.7 kB / 0.7299 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5099, allocations: 19.98 kB / 0.7299 GB, free: 2.078 MB / 0.6042 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.0001228/0.51, allocations: 146.3 kB / 0.73 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.51, allocations: 31.8 kB / 0.7301 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.5105, allocations: 362.3 kB / 0.7304 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.5105, allocations: 7.984 kB / 0.7304 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.5105, allocations: 4.438 kB / 0.7304 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.5106, allocations: 71.67 kB / 0.7305 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.5107, allocations: 15.94 kB / 0.7305 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5108, allocations: 39.97 kB / 0.7305 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.5109, allocations: 51.86 kB / 0.7306 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009421/0.5118, allocations: 1.325 MB / 0.7319 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006914/0.5125, allocations: 1.384 MB / 0.7332 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001684/0.5127, allocations: 152.1 kB / 0.7334 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.5128, allocations: 128.3 kB / 0.7335 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of Backend: time 1.1e-07/0.5128, allocations: 0 / 0.7335 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.5142, allocations: 487.2 kB / 0.734 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007165/0.5149, allocations: 0.8327 MB / 0.7348 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.008987/0.5239, allocations: 6.285 MB / 0.7409 GB, free: 6.754 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.446959957946092] Failed to read output from testmodel.py, exit status != 0: 0.5308304231148213 0.5459314550000001 0.041084077000000004 Calling exit ...