Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007521/0.0007521, 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.0007634/0.0007634, 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.8399/0.8399, allocations: 177.1 MB / 203.7 MB, free: 5.715 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.0336/0.0336, allocations: 9.124 MB / 269.2 MB, free: 4.445 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.0004727/0.0004727, allocations: 19.97 kB / 328.7 MB, free: 20.6 MB / 266.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.498/1.498, allocations: 275 MB / 0.6476 GB, free: 2.484 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 2.078 kB / 0.9294 GB, free: 8.152 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.037e-05, allocations: 2.938 kB / 0.9294 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001397/0.001428, allocations: 0.8325 MB / 0.9302 GB, free: 7.336 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.003476, allocations: 2.421 MB / 0.9326 GB, free: 4.902 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.00355, allocations: 4 kB / 0.9326 GB, free: 4.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.003584, allocations: 13 kB / 0.9326 GB, free: 4.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.003777, allocations: 43.56 kB / 0.9327 GB, free: 4.844 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.004475, allocations: 0.5108 MB / 0.9332 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004705, allocations: 320.7 kB / 0.9335 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.004749, allocations: 5.812 kB / 0.9335 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.004999, allocations: 204.8 kB / 0.9337 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005132, allocations: 133.5 kB / 0.9338 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.005167, allocations: 24 kB / 0.9338 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.005559, allocations: 387.5 kB / 0.9342 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.005608, allocations: 63.84 kB / 0.9343 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.005681, allocations: 93.31 kB / 0.9343 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.006458, allocations: 0.6582 MB / 0.935 GB, free: 2.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.006461, allocations: 0 / 0.935 GB, free: 2.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006462, allocations: 0 / 0.935 GB, free: 2.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.006467, allocations: 6.531 kB / 0.935 GB, free: 2.469 MB / 0.698 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.0007871/0.007254, allocations: 0.5959 MB / 0.9356 GB, free: 1.844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.007292, allocations: 11.98 kB / 0.9356 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.00781, allocations: 92.33 kB / 0.9357 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.0079, allocations: 135.8 kB / 0.9358 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.008029, allocations: 234.2 kB / 0.936 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.00806, allocations: 21.33 kB / 0.936 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.00831, allocations: 240.3 kB / 0.9363 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.008319, allocations: 7.25 kB / 0.9363 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.008338, allocations: 8.109 kB / 0.9363 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.008344, allocations: 4 kB / 0.9363 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.008504, allocations: 119.7 kB / 0.9364 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.008767, allocations: 287 kB / 0.9367 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.009562, allocations: 483.3 kB / 0.9371 GB, free: 15.95 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.009706, allocations: 154.1 kB / 0.9373 GB, free: 15.77 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.009734, allocations: 11.98 kB / 0.9373 GB, free: 15.75 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.01005, allocations: 308.2 kB / 0.9376 GB, free: 15.4 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.01005, allocations: 0 / 0.9376 GB, free: 15.4 MB / 0.7137 GB Notification: Performance of matching and sorting (n=40): time 0.0005957/0.01065, allocations: 434.4 kB / 0.938 GB, free: 14.97 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.01075, allocations: 354.1 kB / 0.9383 GB, free: 14.55 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01085, allocations: 165.2 kB / 0.9385 GB, free: 14.38 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01088, allocations: 37.7 kB / 0.9385 GB, free: 14.33 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.01092, allocations: 101.1 kB / 0.9386 GB, free: 14.23 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.01099, allocations: 119.1 kB / 0.9388 GB, free: 14.11 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.01108, allocations: 94.16 kB / 0.9388 GB, free: 14.02 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.01116, allocations: 326.8 kB / 0.9392 GB, free: 13.69 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.01134, allocations: 121.3 kB / 0.9393 GB, free: 13.57 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.01153, allocations: 172.4 kB / 0.9394 GB, free: 13.39 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.01188, allocations: 264.7 kB / 0.9397 GB, free: 13.12 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01188, allocations: 0 / 0.9397 GB, free: 13.12 MB / 0.7137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004697/0.01235, allocations: 383 kB / 0.9401 GB, free: 12.75 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01237, allocations: 4 kB / 0.9401 GB, free: 12.74 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01237, allocations: 0 / 0.9401 GB, free: 12.74 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01239, allocations: 4 kB / 0.9401 GB, free: 12.74 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.01259, allocations: 87.81 kB / 0.9401 GB, free: 12.65 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.0126, allocations: 3.984 kB / 0.9401 GB, free: 12.65 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01273, allocations: 51.75 kB / 0.9402 GB, free: 12.6 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.01275, allocations: 19.98 kB / 0.9402 GB, free: 12.58 MB / 0.7137 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.0001065/0.01286, allocations: 153.7 kB / 0.9404 GB, free: 12.42 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.0129, allocations: 27.86 kB / 0.9404 GB, free: 12.39 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.01332, allocations: 354.5 kB / 0.9407 GB, free: 12.04 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.01333, allocations: 7.984 kB / 0.9407 GB, free: 12.04 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01334, allocations: 8.375 kB / 0.9407 GB, free: 12.03 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.01345, allocations: 71.62 kB / 0.9408 GB, free: 11.96 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.01349, allocations: 19.98 kB / 0.9408 GB, free: 11.94 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01361, allocations: 35.97 kB / 0.9409 GB, free: 11.9 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.01369, allocations: 55.8 kB / 0.9409 GB, free: 11.85 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009246/0.01461, allocations: 1.325 MB / 0.9422 GB, free: 10.51 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006741/0.01529, allocations: 1.376 MB / 0.9436 GB, free: 9.105 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001787/0.01547, allocations: 152.1 kB / 0.9437 GB, free: 8.957 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.01553, allocations: 123.2 kB / 0.9438 GB, free: 8.836 MB / 0.7137 GB Notification: Performance of Backend: time 2.8e-07/0.01553, allocations: 0 / 0.9438 GB, free: 8.836 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.01691, allocations: 0.5047 MB / 0.9443 GB, free: 8.328 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0006128/0.01753, allocations: 0.8205 MB / 0.9451 GB, free: 7.457 MB / 0.7137 GB Notification: Performance of Templates: time 0.007358/0.02488, allocations: 6.272 MB / 0.9512 GB, free: 1.246 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.801376565359533] Failed to read output from testmodel.py, exit status != 0: 0.03077303245663643 0.039021119 0.030623050000000002 Calling exit ...