Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.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.0007678/0.0007678, 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.0007896/0.0007896, 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.8559/0.8559, allocations: 177.1 MB / 203.7 MB, free: 5.602 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.03895/0.03895, allocations: 9.129 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.0005329/0.0005329, allocations: 31.73 kB / 328.7 MB, free: 20.62 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.463/1.463, allocations: 275 MB / 0.6476 GB, free: 2.504 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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.9295 GB, free: 7.953 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.097e-05, allocations: 2.281 kB / 0.9295 GB, free: 7.949 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001187/0.001208, allocations: 0.7991 MB / 0.9303 GB, free: 7.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.002105, allocations: 1.046 MB / 0.9313 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.002157, allocations: 6.438 kB / 0.9313 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.002254, allocations: 11.86 kB / 0.9313 GB, free: 6.098 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.002294, allocations: 19.75 kB / 0.9314 GB, free: 6.078 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.002639, allocations: 95.81 kB / 0.9315 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.002748, allocations: 124.5 kB / 0.9316 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.002864, allocations: 37.22 kB / 0.9316 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.002941, allocations: 68.38 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.002991, allocations: 47.88 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.003011, allocations: 9.75 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.003117, allocations: 95.78 kB / 0.9318 GB, free: 5.613 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.003162, allocations: 39.91 kB / 0.9319 GB, free: 5.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.003199, allocations: 39.84 kB / 0.9319 GB, free: 5.535 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.00341, allocations: 230.7 kB / 0.9321 GB, free: 5.312 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003412, allocations: 0 / 0.9321 GB, free: 5.312 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/0.003413, allocations: 4 kB / 0.9321 GB, free: 5.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003417, allocations: 0 / 0.9321 GB, free: 5.309 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005/0.003917, allocations: 413.4 kB / 0.9325 GB, free: 4.871 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.003952, allocations: 16.58 kB / 0.9325 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.003983, allocations: 12.84 kB / 0.9325 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.004116, allocations: 151.1 kB / 0.9327 GB, free: 4.672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.004124, allocations: 4.375 kB / 0.9327 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.00414, allocations: 9.969 kB / 0.9327 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.004463, allocations: 204.6 kB / 0.9329 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004471, allocations: 192 / 0.9329 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.004484, allocations: 4.375 kB / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004488, allocations: 384 / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.004855, allocations: 227.2 kB / 0.9331 GB, free: 4.234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.005381, allocations: 460 kB / 0.9336 GB, free: 3.758 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.0056, allocations: 158.3 kB / 0.9337 GB, free: 3.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.005796, allocations: 139.9 kB / 0.9338 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.005837, allocations: 4 kB / 0.9338 GB, free: 3.453 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.005855, allocations: 30.56 kB / 0.9339 GB, free: 3.414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.132e-06/0.005857, allocations: 0 / 0.9339 GB, free: 3.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0007183/0.006575, allocations: 481.3 kB / 0.9343 GB, free: 2.941 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.006597, allocations: 51.41 kB / 0.9344 GB, free: 2.879 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.006685, allocations: 153 kB / 0.9345 GB, free: 2.723 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006697, allocations: 29.7 kB / 0.9346 GB, free: 2.688 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.006738, allocations: 104.6 kB / 0.9347 GB, free: 2.582 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.006781, allocations: 75.39 kB / 0.9347 GB, free: 2.508 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.006821, allocations: 37.7 kB / 0.9348 GB, free: 2.465 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.006899, allocations: 334.7 kB / 0.9351 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.007096, allocations: 131.9 kB / 0.9352 GB, free: 2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.007295, allocations: 132 kB / 0.9353 GB, free: 1.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.007686, allocations: 299.2 kB / 0.9356 GB, free: 1.578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007688, allocations: 0 / 0.9356 GB, free: 1.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004369/0.008125, allocations: 330 kB / 0.9359 GB, free: 1.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.008139, allocations: 4 kB / 0.9359 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.008153, allocations: 4.062 kB / 0.9359 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.008165, allocations: 4 kB / 0.9359 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.008279, allocations: 35.89 kB / 0.936 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.008288, allocations: 3.984 kB / 0.936 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.008371, allocations: 47.84 kB / 0.936 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.008388, allocations: 0 / 0.936 GB, free: 1.152 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: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.364e-05/0.008472, allocations: 138.4 kB / 0.9362 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.008493, allocations: 19.86 kB / 0.9362 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.008976, allocations: 359.5 kB / 0.9365 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.00898, allocations: 4 kB / 0.9365 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.008984, allocations: 4 kB / 0.9365 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008997, allocations: 23.73 kB / 0.9366 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.009011, allocations: 3.984 kB / 0.9366 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.009111, allocations: 35.91 kB / 0.9366 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.009162, allocations: 19.95 kB / 0.9366 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005021/0.009664, allocations: 440.5 kB / 0.937 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004824/0.01015, allocations: 0.4946 MB / 0.9375 GB, free: 15.59 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000208/0.01035, allocations: 139.9 kB / 0.9376 GB, free: 15.45 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.0104, allocations: 112.4 kB / 0.9378 GB, free: 15.34 MB / 0.7137 GB Notification: Performance of Backend: time 1.3e-07/0.0104, allocations: 0 / 0.9378 GB, free: 15.34 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005241/0.01093, allocations: 317.6 kB / 0.9381 GB, free: 15.02 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0005405/0.01147, allocations: 0.8088 MB / 0.9388 GB, free: 14.14 MB / 0.7137 GB Notification: Performance of Templates: time 0.003875/0.01534, allocations: 2.668 MB / 0.9415 GB, free: 11.53 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6841888930648565] Failed to read output from testmodel.py, exit status != 0: 0.019992858171463013 0.028064911 0.023048230000000003 Calling exit ...