Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001135/0.001135, allocations: 84.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.001064/0.001064, 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.8917/0.8917, allocations: 177.2 MB / 203.6 MB, free: 5.727 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.7386/0.7386, allocations: 154.9 MB / 414.9 MB, free: 496 kB / 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001006/0.001006, allocations: 63.84 kB / 0.6198 GB, free: 12.83 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.4848/0.4858, allocations: 102 MB / 0.7194 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001491/0.4873, allocations: 0.8335 MB / 0.7202 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.4892, allocations: 2.413 MB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.4893, allocations: 5.031 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.4893, allocations: 12.75 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.4895, allocations: 49.72 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.4901, allocations: 0.4905 MB / 0.7231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.4904, allocations: 325.8 kB / 0.7234 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.4904, allocations: 12.58 kB / 0.7234 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.4907, allocations: 206.9 kB / 0.7236 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4909, allocations: 137.8 kB / 0.7238 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.4909, allocations: 27.17 kB / 0.7238 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.4913, allocations: 382.5 kB / 0.7242 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.4914, allocations: 69.83 kB / 0.7242 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.4915, allocations: 101.5 kB / 0.7243 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.4922, allocations: 0.6674 MB / 0.725 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4922, allocations: 0.875 kB / 0.725 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4922, allocations: 0 / 0.725 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4922, allocations: 4.938 kB / 0.725 GB, free: 20.35 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.0008441/0.493, allocations: 0.6019 MB / 0.7256 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4931, allocations: 10.91 kB / 0.7256 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005776/0.4936, allocations: 93.08 kB / 0.7257 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.4937, allocations: 137.1 kB / 0.7258 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.4939, allocations: 240.8 kB / 0.726 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.4939, allocations: 18.61 kB / 0.7261 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.4942, allocations: 247.1 kB / 0.7263 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4942, allocations: 1.25 kB / 0.7263 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.4942, allocations: 11.55 kB / 0.7263 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4942, allocations: 4.219 kB / 0.7263 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.4944, allocations: 120.5 kB / 0.7264 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.4947, allocations: 285.6 kB / 0.7267 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.4955, allocations: 484.5 kB / 0.7272 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4956, allocations: 151.5 kB / 0.7273 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4957, allocations: 12.3 kB / 0.7273 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003518/0.496, allocations: 322.8 kB / 0.7276 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.496, allocations: 0 / 0.7276 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0006524/0.4967, allocations: 414 kB / 0.728 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.4967, allocations: 353.6 kB / 0.7284 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4969, allocations: 165.6 kB / 0.7285 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4969, allocations: 43.62 kB / 0.7286 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.4969, allocations: 95.11 kB / 0.7286 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.497, allocations: 115 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4971, allocations: 95.75 kB / 0.7288 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.4972, allocations: 334.2 kB / 0.7292 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.4974, allocations: 116.8 kB / 0.7293 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.4976, allocations: 163 kB / 0.7294 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.4979, allocations: 269.5 kB / 0.7297 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4979, allocations: 4 kB / 0.7297 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005036/0.4984, allocations: 381.2 kB / 0.7301 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4984, allocations: 10.34 kB / 0.7301 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4984, allocations: 1.062 kB / 0.7301 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4985, allocations: 3.625 kB / 0.7301 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.4987, allocations: 76.19 kB / 0.7301 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4987, allocations: 4.484 kB / 0.7301 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.4988, allocations: 52.72 kB / 0.7302 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.4988, allocations: 24.95 kB / 0.7302 GB, free: 16.54 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.0001006/0.4989, allocations: 155.4 kB / 0.7304 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.499, allocations: 30.47 kB / 0.7304 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.4995, allocations: 360.4 kB / 0.7307 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4995, allocations: 5.047 kB / 0.7307 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.4995, allocations: 3.656 kB / 0.7307 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4997, allocations: 68.42 kB / 0.7308 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.4997, allocations: 20.84 kB / 0.7308 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4998, allocations: 30.27 kB / 0.7309 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.5, allocations: 55.3 kB / 0.7309 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006642/0.5006, allocations: 1.333 MB / 0.7322 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006515/0.5013, allocations: 1.389 MB / 0.7336 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002041/0.5015, allocations: 141.1 kB / 0.7337 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.5016, allocations: 128.3 kB / 0.7338 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of Backend: time 6.22e-07/0.5016, allocations: 3.938 kB / 0.7338 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.503, allocations: 482.5 kB / 0.7343 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005996/0.5036, allocations: 0.827 MB / 0.7351 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.0102/0.5138, allocations: 6.295 MB / 0.7412 GB, free: 12.14 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.336688056122512] Failed to read output from testmodel.py, exit status != 0: 0.5198576380498707 0.529117065 0.034926791000000006 Calling exit ...