Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.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.001008/0.001008, allocations: 75.69 kB / 20.03 MB, free: 4.496 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.0008027/0.0008027, allocations: 169.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.8461/0.8461, allocations: 177.1 MB / 203.7 MB, free: 5.691 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.03513/0.03513, allocations: 9.119 MB / 269.2 MB, free: 4.422 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.0003672/0.0003672, allocations: 23.95 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.453/1.453, allocations: 275 MB / 0.6476 GB, free: 2.465 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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9295 GB, free: 7.938 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.71e-05, allocations: 5.453 kB / 0.9295 GB, free: 7.934 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Less): time 0.001552/0.001579, allocations: 0.8198 MB / 0.9303 GB, free: 7.129 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.002463, allocations: 0.9249 MB / 0.9312 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.002543, allocations: 2.312 kB / 0.9312 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.002665, allocations: 19.81 kB / 0.9313 GB, free: 6.172 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.002698, allocations: 11.86 kB / 0.9313 GB, free: 6.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.002888, allocations: 39.89 kB / 0.9313 GB, free: 6.121 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.002993, allocations: 101.5 kB / 0.9314 GB, free: 6.023 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.003109, allocations: 43.88 kB / 0.9314 GB, free: 5.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.003259, allocations: 63.77 kB / 0.9315 GB, free: 5.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.003315, allocations: 31.89 kB / 0.9315 GB, free: 5.887 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.003333, allocations: 8 kB / 0.9315 GB, free: 5.879 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.003372, allocations: 12.59 kB / 0.9316 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.003387, allocations: 17.33 kB / 0.9316 GB, free: 5.852 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.003414, allocations: 19.98 kB / 0.9316 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003555, allocations: 115.6 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003557, allocations: 0 / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003558, allocations: 0.9062 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003561, allocations: 0 / 0.9317 GB, free: 5.719 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004373/0.003998, allocations: 340.9 kB / 0.932 GB, free: 5.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.004037, allocations: 13.27 kB / 0.932 GB, free: 5.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.004146, allocations: 20.84 kB / 0.9321 GB, free: 5.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.004334, allocations: 147.2 kB / 0.9322 GB, free: 5.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.004342, allocations: 4.375 kB / 0.9322 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.004357, allocations: 8.375 kB / 0.9322 GB, free: 5.145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.004517, allocations: 93.3 kB / 0.9323 GB, free: 5.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.004526, allocations: 4.734 kB / 0.9323 GB, free: 5.047 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.004536, allocations: 4.312 kB / 0.9323 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004541, allocations: 5.094 kB / 0.9323 GB, free: 5.039 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.004669, allocations: 73.66 kB / 0.9324 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.005008, allocations: 273.7 kB / 0.9326 GB, free: 4.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.005147, allocations: 66.47 kB / 0.9327 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.005208, allocations: 35.31 kB / 0.9327 GB, free: 4.562 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.005224, allocations: 3.984 kB / 0.9327 GB, free: 4.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.005243, allocations: 30.56 kB / 0.9328 GB, free: 4.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005244, allocations: 4 kB / 0.9328 GB, free: 4.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002636/0.005508, allocations: 115.2 kB / 0.9329 GB, free: 4.398 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.005531, allocations: 56.3 kB / 0.9329 GB, free: 4.332 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.005607, allocations: 135.4 kB / 0.9331 GB, free: 4.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.005621, allocations: 29.7 kB / 0.9331 GB, free: 4.156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.005664, allocations: 103.7 kB / 0.9332 GB, free: 4.055 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.005682, allocations: 19.83 kB / 0.9332 GB, free: 4.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.005709, allocations: 17.72 kB / 0.9332 GB, free: 4.012 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.005784, allocations: 326.8 kB / 0.9335 GB, free: 3.684 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.005845, allocations: 31.97 kB / 0.9336 GB, free: 3.652 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.005908, allocations: 27.98 kB / 0.9336 GB, free: 3.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.006017, allocations: 58.61 kB / 0.9337 GB, free: 3.566 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.006019, allocations: 128 / 0.9337 GB, free: 3.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001439/0.006163, allocations: 108.1 kB / 0.9338 GB, free: 3.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.006176, allocations: 5.875 kB / 0.9338 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006179, allocations: 0 / 0.9338 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.006191, allocations: 0 / 0.9338 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.006254, allocations: 11.98 kB / 0.9338 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.006262, allocations: 0 / 0.9338 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.006313, allocations: 27.92 kB / 0.9338 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.006319, allocations: 0 / 0.9338 GB, free: 3.414 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.091e-05/0.00638, allocations: 117.8 kB / 0.9339 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.006397, allocations: 11.94 kB / 0.9339 GB, free: 3.277 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.006418, allocations: 12.34 kB / 0.9339 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.00642, allocations: 0 / 0.9339 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006421, allocations: 0 / 0.9339 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006429, allocations: 3.953 kB / 0.9339 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.006445, allocations: 4 kB / 0.9339 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.006506, allocations: 19.97 kB / 0.934 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.006553, allocations: 15.92 kB / 0.934 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001718/0.006725, allocations: 176.8 kB / 0.9342 GB, free: 3.043 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001778/0.006903, allocations: 262.7 kB / 0.9344 GB, free: 2.77 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.837e-05/0.006971, allocations: 40.23 kB / 0.9344 GB, free: 2.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.007013, allocations: 107.2 kB / 0.9345 GB, free: 2.625 MB / 0.698 GB Notification: Performance of Backend: time 2.4e-07/0.007013, allocations: 0 / 0.9345 GB, free: 2.625 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.007326, allocations: 104.1 kB / 0.9346 GB, free: 2.516 MB / 0.698 GB Notification: Performance of SimCode: time 0.000412/0.007738, allocations: 0.644 MB / 0.9353 GB, free: 1.816 MB / 0.698 GB Notification: Performance of Templates: time 0.002578/0.01032, allocations: 1.314 MB / 0.9366 GB, free: 0.5391 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4994485611096025] Failed to read output from testmodel.py, exit status != 0: 0.014673714525997639 0.022146084 0.017029425 Calling exit ...