Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.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.000717/0.000717, 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.0007404/0.0007404, 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.863/0.863, allocations: 177.1 MB / 203.6 MB, free: 5.711 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.0343/0.0343, allocations: 9.119 MB / 269.2 MB, free: 4.434 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.0004809/0.0004809, allocations: 23.95 kB / 328.7 MB, free: 5.801 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.599/1.599, allocations: 275 MB / 0.6476 GB, free: 2.836 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.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9295 GB, free: 20.75 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.928e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.75 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Round): time 0.001233/0.001252, allocations: 0.7264 MB / 0.9302 GB, free: 20.29 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.002014, allocations: 0.8719 MB / 0.9311 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.002059, allocations: 1.469 kB / 0.9311 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.002087, allocations: 8.484 kB / 0.9311 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.976e-05/0.002166, allocations: 6.5 kB / 0.9311 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.002318, allocations: 26.14 kB / 0.9311 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.002407, allocations: 74.56 kB / 0.9312 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.002505, allocations: 12.53 kB / 0.9312 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.002592, allocations: 45.58 kB / 0.9313 GB, free: 19.55 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.002653, allocations: 36.47 kB / 0.9313 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.002675, allocations: 6.719 kB / 0.9313 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.002687, allocations: 7.688 kB / 0.9313 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.002709, allocations: 13.05 kB / 0.9313 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.002739, allocations: 25.25 kB / 0.9313 GB, free: 19.51 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.002858, allocations: 87.11 kB / 0.9314 GB, free: 19.47 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002861, allocations: 0 / 0.9314 GB, free: 19.47 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002862, allocations: 1.531 kB / 0.9314 GB, free: 19.47 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002866, allocations: 0 / 0.9314 GB, free: 19.47 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003908/0.003256, allocations: 307.8 kB / 0.9317 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.003293, allocations: 12.55 kB / 0.9317 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.003324, allocations: 9.547 kB / 0.9317 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/0.003404, allocations: 116.9 kB / 0.9319 GB, free: 19.04 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.003421, allocations: 7.641 kB / 0.9319 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.003436, allocations: 4.125 kB / 0.9319 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.003599, allocations: 86.22 kB / 0.9319 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.003606, allocations: 192 / 0.9319 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.003617, allocations: 6.562 kB / 0.932 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003621, allocations: 1.688 kB / 0.932 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.003775, allocations: 74.56 kB / 0.932 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.004085, allocations: 253 kB / 0.9323 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.004249, allocations: 85.94 kB / 0.9324 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/0.004328, allocations: 36.48 kB / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.004346, allocations: 4.453 kB / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.00436, allocations: 33.66 kB / 0.9324 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.004361, allocations: 4 kB / 0.9324 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6): time 0.0003229/0.004684, allocations: 132.9 kB / 0.9326 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.248e-05/0.004697, allocations: 55.34 kB / 0.9326 GB, free: 18.49 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.004758, allocations: 121.5 kB / 0.9327 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.004766, allocations: 29.7 kB / 0.9328 GB, free: 18.35 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.004792, allocations: 97.91 kB / 0.9328 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.004813, allocations: 19.72 kB / 0.9329 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.004846, allocations: 21.73 kB / 0.9329 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.633e-05/0.004872, allocations: 318.5 kB / 0.9332 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.004946, allocations: 31.72 kB / 0.9332 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.005014, allocations: 30.14 kB / 0.9332 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.005156, allocations: 67.22 kB / 0.9333 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005158, allocations: 0 / 0.9333 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001759/0.005334, allocations: 109 kB / 0.9334 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.005347, allocations: 10.66 kB / 0.9334 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005351, allocations: 0.5625 kB / 0.9334 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.005363, allocations: 0 / 0.9334 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.005456, allocations: 20.77 kB / 0.9334 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.005463, allocations: 0 / 0.9334 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.005507, allocations: 7.547 kB / 0.9335 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.005516, allocations: 2.953 kB / 0.9335 GB, free: 17.8 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.296e-05/0.005559, allocations: 119 kB / 0.9336 GB, free: 17.68 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.005578, allocations: 14.59 kB / 0.9336 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.005598, allocations: 15.14 kB / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.0056, allocations: 0 / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.005601, allocations: 1.625 kB / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.005614, allocations: 7.141 kB / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.005628, allocations: 0.6562 kB / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.005689, allocations: 6.203 kB / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.005746, allocations: 18.06 kB / 0.9336 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002143/0.005961, allocations: 184.2 kB / 0.9338 GB, free: 17.52 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001955/0.006156, allocations: 284.5 kB / 0.9341 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.872e-05/0.006245, allocations: 43.91 kB / 0.9341 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.006275, allocations: 97 kB / 0.9342 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of Backend: time 2e-07/0.006275, allocations: 0 / 0.9342 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.006583, allocations: 116.6 kB / 0.9343 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003303/0.006913, allocations: 0.5964 MB / 0.9349 GB, free: 16.51 MB / 0.7293 GB Notification: Performance of Templates: time 0.003171/0.01008, allocations: 1.499 MB / 0.9364 GB, free: 16.37 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.86479033716023] Failed to read output from testmodel.py, exit status != 0: 0.014649167656898499 0.023508555 0.01884088 Calling exit ...