Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.00106/0.00106, 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.001154/0.001154, allocations: 165.3 kB / 23.32 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.8579/0.8579, 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.03638/0.03638, allocations: 9.132 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.0003822/0.0003822, allocations: 31.89 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.471/1.471, allocations: 275 MB / 0.6476 GB, free: 2.477 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9295 GB, free: 8.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.097e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.086 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.001184/0.001205, allocations: 0.7477 MB / 0.9302 GB, free: 7.363 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007632/0.001968, allocations: 0.8912 MB / 0.9311 GB, free: 6.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.002013, allocations: 4 kB / 0.9311 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.002041, allocations: 3.938 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.002118, allocations: 12.5 kB / 0.9311 GB, free: 6.441 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.002275, allocations: 40.61 kB / 0.9311 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.002365, allocations: 91.75 kB / 0.9312 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.002459, allocations: 24.45 kB / 0.9312 GB, free: 6.289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.002549, allocations: 55.88 kB / 0.9313 GB, free: 6.234 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.00261, allocations: 36.44 kB / 0.9313 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.00263, allocations: 8.562 kB / 0.9313 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.002641, allocations: 8 kB / 0.9313 GB, free: 6.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.002663, allocations: 21.73 kB / 0.9314 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.002691, allocations: 23.91 kB / 0.9314 GB, free: 6.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.002799, allocations: 91.72 kB / 0.9315 GB, free: 6.051 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002801, allocations: 0 / 0.9315 GB, free: 6.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.01e-07/0.002801, allocations: 0 / 0.9315 GB, free: 6.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002805, allocations: 2.906 kB / 0.9315 GB, free: 6.051 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004174/0.003222, allocations: 318 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.003256, allocations: 11.98 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.003286, allocations: 12.83 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.003378, allocations: 125.7 kB / 0.9319 GB, free: 5.539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.003394, allocations: 8.375 kB / 0.9319 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.003407, allocations: 5.531 kB / 0.9319 GB, free: 5.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.003598, allocations: 102.8 kB / 0.932 GB, free: 5.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.003607, allocations: 3.938 kB / 0.932 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.00362, allocations: 5.062 kB / 0.932 GB, free: 5.414 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003625, allocations: 4 kB / 0.932 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.003821, allocations: 102.7 kB / 0.9321 GB, free: 5.312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.004167, allocations: 264.3 kB / 0.9324 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.004511, allocations: 123 kB / 0.9325 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.00461, allocations: 57.88 kB / 0.9326 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.004628, allocations: 0.8125 kB / 0.9326 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.004645, allocations: 34.56 kB / 0.9326 GB, free: 4.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.004646, allocations: 1.5 kB / 0.9326 GB, free: 4.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003898/0.005036, allocations: 183 kB / 0.9328 GB, free: 4.609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.005058, allocations: 60.11 kB / 0.9328 GB, free: 4.539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.005127, allocations: 124 kB / 0.933 GB, free: 4.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.005139, allocations: 27.86 kB / 0.933 GB, free: 4.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.005176, allocations: 100 kB / 0.9331 GB, free: 4.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.005195, allocations: 15.84 kB / 0.9331 GB, free: 4.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.005228, allocations: 25.7 kB / 0.9331 GB, free: 4.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.005304, allocations: 322.8 kB / 0.9334 GB, free: 3.906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.005401, allocations: 44.98 kB / 0.9335 GB, free: 3.863 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.005493, allocations: 55.5 kB / 0.9335 GB, free: 3.812 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.005672, allocations: 92.78 kB / 0.9336 GB, free: 3.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005674, allocations: 0 / 0.9336 GB, free: 3.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002221/0.005896, allocations: 140.1 kB / 0.9337 GB, free: 3.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005908, allocations: 4 kB / 0.9337 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005912, allocations: 0 / 0.9337 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.005924, allocations: 4 kB / 0.9337 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.006007, allocations: 31.91 kB / 0.9338 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.006014, allocations: 1.906 kB / 0.9338 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.006068, allocations: 11.98 kB / 0.9338 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.006074, allocations: 0 / 0.9338 GB, free: 3.527 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.217e-05/0.006137, allocations: 122.9 kB / 0.9339 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.006155, allocations: 11.95 kB / 0.9339 GB, free: 3.387 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.006412, allocations: 142 kB / 0.9341 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006414, allocations: 3.938 kB / 0.9341 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006415, allocations: 0 / 0.9341 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.006426, allocations: 15.92 kB / 0.9341 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.006439, allocations: 4 kB / 0.9341 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.006505, allocations: 19.92 kB / 0.9341 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.006564, allocations: 27.91 kB / 0.9341 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002647/0.006829, allocations: 224.8 kB / 0.9343 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002622/0.007091, allocations: 314.7 kB / 0.9346 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001089/0.0072, allocations: 60.42 kB / 0.9347 GB, free: 2.562 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.007236, allocations: 95.27 kB / 0.9348 GB, free: 2.469 MB / 0.698 GB Notification: Performance of Backend: time 5.01e-07/0.007237, allocations: 0 / 0.9348 GB, free: 2.469 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.007539, allocations: 126.3 kB / 0.9349 GB, free: 2.34 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003903/0.00793, allocations: 0.6158 MB / 0.9355 GB, free: 1.676 MB / 0.698 GB Notification: Performance of Templates: time 0.002779/0.01071, allocations: 1.932 MB / 0.9374 GB, free: 15.79 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.634150712750852] Failed to read output from testmodel.py, exit status != 0: 0.01521503459662199 0.023440057 0.019040325 Calling exit ...