Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007542/0.0007542, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.000797/0.000797, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8656/0.8656, allocations: 177.1 MB / 203.6 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03405/0.03405, allocations: 9.134 MB / 269.2 MB, free: 4.449 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005364/0.0005364, allocations: 35.88 kB / 328.7 MB, free: 5.77 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.509/1.509, allocations: 274.9 MB / 0.6476 GB, free: 2.801 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.9294 GB, free: 20.97 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.63e-05, allocations: 2.281 kB / 0.9294 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001429/0.001455, allocations: 0.8351 MB / 0.9303 GB, free: 20.44 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.003404, allocations: 2.421 MB / 0.9326 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.003486, allocations: 5.375 kB / 0.9326 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.003518, allocations: 12.61 kB / 0.9326 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.003712, allocations: 47.08 kB / 0.9327 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008824/0.004594, allocations: 0.4972 MB / 0.9332 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.004848, allocations: 327.9 kB / 0.9335 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.004893, allocations: 12.95 kB / 0.9335 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.005169, allocations: 195.8 kB / 0.9337 GB, free: 18.26 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.005321, allocations: 129.3 kB / 0.9338 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.005361, allocations: 23.41 kB / 0.9338 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.005854, allocations: 382.7 kB / 0.9342 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.005909, allocations: 74.2 kB / 0.9343 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.005985, allocations: 90.27 kB / 0.9343 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.006635, allocations: 0.668 MB / 0.935 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.006637, allocations: 0 / 0.935 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006638, allocations: 0 / 0.935 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.006643, allocations: 0 / 0.935 GB, free: 17.81 MB / 0.7293 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.0008119/0.007454, allocations: 0.5972 MB / 0.9356 GB, free: 17.38 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007492, allocations: 13.56 kB / 0.9356 GB, free: 17.38 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.008018, allocations: 87.23 kB / 0.9357 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.535e-05/0.008093, allocations: 141.2 kB / 0.9358 GB, free: 17.21 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.008195, allocations: 229.6 kB / 0.936 GB, free: 16.95 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.00823, allocations: 22.75 kB / 0.9361 GB, free: 16.95 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.008478, allocations: 239.8 kB / 0.9363 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.008488, allocations: 1.312 kB / 0.9363 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.008505, allocations: 11.86 kB / 0.9363 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.008513, allocations: 4.609 kB / 0.9363 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.008686, allocations: 119 kB / 0.9364 GB, free: 16.72 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.008926, allocations: 289.7 kB / 0.9367 GB, free: 16.45 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.009704, allocations: 480.8 kB / 0.9371 GB, free: 16.1 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.009841, allocations: 150.9 kB / 0.9373 GB, free: 15.97 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.00987, allocations: 8.719 kB / 0.9373 GB, free: 15.97 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.01017, allocations: 324.8 kB / 0.9376 GB, free: 15.75 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.01017, allocations: 3.938 kB / 0.9376 GB, free: 15.75 MB / 0.7293 GB Notification: Performance of matching and sorting (n=40): time 0.0005937/0.01076, allocations: 424.9 kB / 0.938 GB, free: 15.58 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.01082, allocations: 349.3 kB / 0.9383 GB, free: 15.17 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.01091, allocations: 165.5 kB / 0.9385 GB, free: 15.05 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.01093, allocations: 40.28 kB / 0.9385 GB, free: 15.01 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.01096, allocations: 94.2 kB / 0.9386 GB, free: 14.92 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.01102, allocations: 115.7 kB / 0.9387 GB, free: 14.83 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.01112, allocations: 94.53 kB / 0.9388 GB, free: 14.78 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.01116, allocations: 334.9 kB / 0.9392 GB, free: 14.46 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.01134, allocations: 119.8 kB / 0.9393 GB, free: 14.42 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.01153, allocations: 163.1 kB / 0.9394 GB, free: 14.34 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.01187, allocations: 270.8 kB / 0.9397 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01187, allocations: 4 kB / 0.9397 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004762/0.01235, allocations: 377.8 kB / 0.94 GB, free: 14.06 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01236, allocations: 5.781 kB / 0.9401 GB, free: 14.06 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01237, allocations: 0.8438 kB / 0.9401 GB, free: 14.06 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01238, allocations: 3.281 kB / 0.9401 GB, free: 14.06 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.01259, allocations: 84.78 kB / 0.9401 GB, free: 14.05 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.0126, allocations: 12.02 kB / 0.9401 GB, free: 14.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.01273, allocations: 49.95 kB / 0.9402 GB, free: 14.02 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.01275, allocations: 15.66 kB / 0.9402 GB, free: 14.02 MB / 0.7293 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 8.9e-05/0.01284, allocations: 159.3 kB / 0.9404 GB, free: 13.87 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.01288, allocations: 24.5 kB / 0.9404 GB, free: 13.86 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.01331, allocations: 356.3 kB / 0.9407 GB, free: 13.7 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.01332, allocations: 9.906 kB / 0.9407 GB, free: 13.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01332, allocations: 6.188 kB / 0.9407 GB, free: 13.69 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.01343, allocations: 73.34 kB / 0.9408 GB, free: 13.66 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.01347, allocations: 16.95 kB / 0.9408 GB, free: 13.65 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01359, allocations: 33.55 kB / 0.9409 GB, free: 13.64 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.01367, allocations: 56.27 kB / 0.9409 GB, free: 13.62 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005479/0.01422, allocations: 1.328 MB / 0.9422 GB, free: 12.54 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005375/0.01476, allocations: 1.382 MB / 0.9436 GB, free: 11.38 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001878/0.01495, allocations: 145.9 kB / 0.9437 GB, free: 11.33 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.015, allocations: 128 kB / 0.9438 GB, free: 11.24 MB / 0.7293 GB Notification: Performance of Backend: time 1.7e-07/0.015, allocations: 0 / 0.9438 GB, free: 11.24 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.0163, allocations: 0.4933 MB / 0.9443 GB, free: 11.05 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0005209/0.01683, allocations: 0.823 MB / 0.9451 GB, free: 10.33 MB / 0.7293 GB Notification: Performance of Templates: time 0.007733/0.02456, allocations: 6.306 MB / 0.9513 GB, free: 9.621 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8987868539988995] Failed to read output from testmodel.py, exit status != 0: 0.028957054018974304 0.036854605000000006 0.028514456 Calling exit ...