Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0007356/0.0007356, 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.0007546/0.0007546, allocations: 165.7 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.8413/0.8413, allocations: 177.1 MB / 203.6 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.03365/0.03365, allocations: 9.126 MB / 269.2 MB, free: 4.438 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.0003531/0.0003531, allocations: 19.08 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.482/1.482, allocations: 275 MB / 0.6476 GB, free: 2.5 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.9294 GB, free: 8.027 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.454e-05, allocations: 6.266 kB / 0.9294 GB, free: 8.023 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001074/0.001088, allocations: 0.8402 MB / 0.9303 GB, free: 7.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.003049, allocations: 2.418 MB / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.003099, allocations: 4 kB / 0.9326 GB, free: 4.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.003127, allocations: 11.81 kB / 0.9326 GB, free: 4.758 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.003289, allocations: 44.19 kB / 0.9327 GB, free: 4.715 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.003828, allocations: 0.506 MB / 0.9332 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.004025, allocations: 322.9 kB / 0.9335 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.004061, allocations: 13.8 kB / 0.9335 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.004284, allocations: 199.6 kB / 0.9337 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.004403, allocations: 123.7 kB / 0.9338 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.004433, allocations: 26.16 kB / 0.9338 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.004772, allocations: 383.5 kB / 0.9342 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.004817, allocations: 71.77 kB / 0.9343 GB, free: 3.098 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.004883, allocations: 91.78 kB / 0.9344 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.00536, allocations: 0.6543 MB / 0.935 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005362, allocations: 2.219 kB / 0.935 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005363, allocations: 0 / 0.935 GB, free: 2.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.005366, allocations: 4 kB / 0.935 GB, free: 2.348 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.0007126/0.006079, allocations: 0.6078 MB / 0.9356 GB, free: 1.707 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.006112, allocations: 11.98 kB / 0.9356 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.006595, allocations: 84.77 kB / 0.9357 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.006675, allocations: 135.8 kB / 0.9358 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.006791, allocations: 242.2 kB / 0.936 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.006819, allocations: 16.38 kB / 0.9361 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.00705, allocations: 244.2 kB / 0.9363 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.007058, allocations: 4.188 kB / 0.9363 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.007075, allocations: 8.125 kB / 0.9363 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007081, allocations: 4 kB / 0.9363 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.00724, allocations: 115.7 kB / 0.9364 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.007472, allocations: 287 kB / 0.9367 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.008216, allocations: 483.3 kB / 0.9372 GB, free: 15.82 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.008349, allocations: 146.3 kB / 0.9373 GB, free: 15.64 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.008372, allocations: 19.88 kB / 0.9373 GB, free: 15.62 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.008636, allocations: 316.2 kB / 0.9376 GB, free: 15.26 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=40): time 1.262e-06/0.008637, allocations: 0 / 0.9376 GB, free: 15.26 MB / 0.7137 GB Notification: Performance of matching and sorting (n=40): time 0.0005455/0.009182, allocations: 426.5 kB / 0.938 GB, free: 14.84 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.009275, allocations: 358 kB / 0.9384 GB, free: 14.41 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.009366, allocations: 164.5 kB / 0.9385 GB, free: 14.23 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.009394, allocations: 41.7 kB / 0.9386 GB, free: 14.19 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.009433, allocations: 97.09 kB / 0.9387 GB, free: 14.09 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.009494, allocations: 115.1 kB / 0.9388 GB, free: 13.98 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.009574, allocations: 94.16 kB / 0.9389 GB, free: 13.88 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.009734, allocations: 331.3 kB / 0.9392 GB, free: 13.55 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.009902, allocations: 120.9 kB / 0.9393 GB, free: 13.43 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.01009, allocations: 168.3 kB / 0.9394 GB, free: 13.25 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.01041, allocations: 260.5 kB / 0.9397 GB, free: 12.99 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01041, allocations: 0 / 0.9397 GB, free: 12.99 MB / 0.7137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004362/0.01085, allocations: 380 kB / 0.9401 GB, free: 12.62 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.01086, allocations: 7.938 kB / 0.9401 GB, free: 12.61 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01087, allocations: 4 kB / 0.9401 GB, free: 12.61 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.01088, allocations: 8 kB / 0.9401 GB, free: 12.6 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.01106, allocations: 83.81 kB / 0.9402 GB, free: 12.52 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.01106, allocations: 0 / 0.9402 GB, free: 12.52 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01118, allocations: 51.75 kB / 0.9402 GB, free: 12.46 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.0112, allocations: 19.98 kB / 0.9402 GB, free: 12.45 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 9.492e-05/0.0113, allocations: 161.6 kB / 0.9404 GB, free: 12.28 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.01133, allocations: 23.86 kB / 0.9404 GB, free: 12.26 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.01172, allocations: 358.4 kB / 0.9407 GB, free: 11.9 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.01172, allocations: 7.984 kB / 0.9407 GB, free: 11.89 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01173, allocations: 7.938 kB / 0.9408 GB, free: 11.89 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.01183, allocations: 75.62 kB / 0.9408 GB, free: 11.81 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01186, allocations: 19.98 kB / 0.9408 GB, free: 11.79 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01197, allocations: 19.98 kB / 0.9409 GB, free: 11.77 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.01204, allocations: 63.78 kB / 0.9409 GB, free: 11.71 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006067/0.01265, allocations: 1.321 MB / 0.9422 GB, free: 10.38 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006031/0.01325, allocations: 1.38 MB / 0.9436 GB, free: 8.969 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001555/0.01341, allocations: 148.7 kB / 0.9437 GB, free: 8.824 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.01346, allocations: 127.2 kB / 0.9438 GB, free: 8.699 MB / 0.7137 GB Notification: Performance of Backend: time 2.5e-07/0.01346, allocations: 0 / 0.9438 GB, free: 8.699 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.01466, allocations: 0.5072 MB / 0.9443 GB, free: 8.188 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0005223/0.01518, allocations: 0.8205 MB / 0.9451 GB, free: 7.316 MB / 0.7137 GB Notification: Performance of Templates: time 0.006239/0.02142, allocations: 6.29 MB / 0.9513 GB, free: 1.098 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.66787002235651] Failed to read output from testmodel.py, exit status != 0: 0.025156598538160324 0.033286317 0.026342964 Calling exit ...