Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.000711/0.000711, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0007613/0.0007613, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8484/0.8484, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03403/0.03403, allocations: 9.115 MB / 269.2 MB, free: 4.441 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.0003769/0.0003769, allocations: 27.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.5/1.5, allocations: 275 MB / 0.6476 GB, free: 2.457 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9295 GB, free: 8.043 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.368e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Max): time 0.001163/0.001187, allocations: 0.6889 MB / 0.9302 GB, free: 7.371 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007209/0.001908, allocations: 0.8397 MB / 0.931 GB, free: 6.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.001943, allocations: 2.469 kB / 0.931 GB, free: 6.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.001968, allocations: 3.938 kB / 0.931 GB, free: 6.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.002029, allocations: 7.922 kB / 0.931 GB, free: 6.508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.781e-05/0.002127, allocations: 15.98 kB / 0.931 GB, free: 6.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.002196, allocations: 39.86 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.002287, allocations: 11.98 kB / 0.9311 GB, free: 6.441 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.00236, allocations: 25.02 kB / 0.9311 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.002399, allocations: 11.98 kB / 0.9311 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.002417, allocations: 4 kB / 0.9311 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.002427, allocations: 5.312 kB / 0.9311 GB, free: 6.398 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.002446, allocations: 11.97 kB / 0.9311 GB, free: 6.387 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.002468, allocations: 15.88 kB / 0.9312 GB, free: 6.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.191e-05/0.002549, allocations: 40.52 kB / 0.9312 GB, free: 6.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002551, allocations: 0 / 0.9312 GB, free: 6.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002553, allocations: 4.656 kB / 0.9312 GB, free: 6.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.002556, allocations: 0 / 0.9312 GB, free: 6.328 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003628/0.002918, allocations: 288 kB / 0.9315 GB, free: 6.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.002956, allocations: 11.98 kB / 0.9315 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.002983, allocations: 8.828 kB / 0.9315 GB, free: 5.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.003062, allocations: 115.5 kB / 0.9316 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.003073, allocations: 384 / 0.9316 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.003084, allocations: 4.375 kB / 0.9316 GB, free: 5.855 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.003243, allocations: 68.5 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.00325, allocations: 192 / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.003258, allocations: 384 / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.003262, allocations: 4.375 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.003412, allocations: 74.05 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.003667, allocations: 204.6 kB / 0.932 GB, free: 5.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.003781, allocations: 54.53 kB / 0.932 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.003861, allocations: 38.08 kB / 0.932 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.003879, allocations: 5.344 kB / 0.932 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.0039, allocations: 42.48 kB / 0.9321 GB, free: 5.324 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.003902, allocations: 0 / 0.9321 GB, free: 5.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003089/0.00421, allocations: 136 kB / 0.9322 GB, free: 5.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.004231, allocations: 51.41 kB / 0.9323 GB, free: 5.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.004294, allocations: 107.4 kB / 0.9324 GB, free: 5.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.004305, allocations: 25.7 kB / 0.9324 GB, free: 4.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.004342, allocations: 96.06 kB / 0.9325 GB, free: 4.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.00436, allocations: 7.953 kB / 0.9325 GB, free: 4.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.004384, allocations: 13.72 kB / 0.9325 GB, free: 4.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.004458, allocations: 311.5 kB / 0.9328 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.004533, allocations: 37.55 kB / 0.9328 GB, free: 4.508 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.004599, allocations: 29.47 kB / 0.9329 GB, free: 4.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.004739, allocations: 76.66 kB / 0.9329 GB, free: 4.406 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.00474, allocations: 0 / 0.9329 GB, free: 4.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001714/0.004912, allocations: 101.6 kB / 0.933 GB, free: 4.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004923, allocations: 4 kB / 0.933 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.004928, allocations: 3.938 kB / 0.933 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.004941, allocations: 4 kB / 0.933 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.005017, allocations: 17.19 kB / 0.9331 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.005025, allocations: 0 / 0.9331 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.005061, allocations: 11.98 kB / 0.9331 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.005067, allocations: 2.938 kB / 0.9331 GB, free: 4.262 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.236e-05/0.005119, allocations: 110.7 kB / 0.9332 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.005133, allocations: 7.875 kB / 0.9332 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.005333, allocations: 117.9 kB / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005335, allocations: 0 / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005336, allocations: 0 / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.005344, allocations: 11.94 kB / 0.9333 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.005355, allocations: 0 / 0.9333 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.005408, allocations: 15.98 kB / 0.9333 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.005446, allocations: 3.984 kB / 0.9333 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002042/0.00565, allocations: 184.8 kB / 0.9335 GB, free: 3.797 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002087/0.005859, allocations: 274.7 kB / 0.9338 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.932e-05/0.005938, allocations: 27.97 kB / 0.9338 GB, free: 3.484 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.005971, allocations: 91.27 kB / 0.9339 GB, free: 3.395 MB / 0.698 GB Notification: Performance of Backend: time 3.51e-07/0.005972, allocations: 0 / 0.9339 GB, free: 3.395 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.006263, allocations: 110.4 kB / 0.934 GB, free: 3.277 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003703/0.006634, allocations: 0.573 MB / 0.9345 GB, free: 2.656 MB / 0.698 GB Notification: Performance of Templates: time 0.002365/0.008999, allocations: 0.9503 MB / 0.9355 GB, free: 1.727 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.614392566494644] Failed to read output from testmodel.py, exit status != 0: 0.014192729257047176 0.022543171 0.018039204 Calling exit ...