Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json 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.04376/0.04376, allocations: 9.131 MB / 28.99 MB, free: 0.8242 MB / 18.57 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/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.001344/0.001344, allocations: 99.08 kB / 35.33 MB, free: 1.078 MB / 24.77 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.001118/0.001118, allocations: 166.1 kB / 38.73 MB, free: 2.52 MB / 24.77 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.9486/0.9486, allocations: 177.1 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003868/0.003868, allocations: 0.8226 MB / 276.5 MB, free: 0.7148 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.553/1.553, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.192e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001188/0.00121, allocations: 0.7107 MB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.002007, allocations: 0.8546 MB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.002039, allocations: 0 / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.002065, allocations: 3.938 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.002131, allocations: 3.938 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.727e-05/0.002189, allocations: 11.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.00226, allocations: 47.84 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.374e-05/0.002333, allocations: 7.984 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.00242, allocations: 27.92 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.002458, allocations: 19.97 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002479, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.002486, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.002502, allocations: 7.938 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.002523, allocations: 11.98 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.002596, allocations: 31.89 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002598, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002598, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.002602, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 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.0002807/0.002883, allocations: 256.8 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.002917, allocations: 15.98 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.002939, allocations: 4.938 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.003018, allocations: 113.7 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.003026, allocations: 384 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.003035, allocations: 4.375 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.003142, allocations: 66.92 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003149, allocations: 192 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.003155, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.003159, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.003179, allocations: 11.94 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.003373, allocations: 160.2 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.003428, allocations: 22.58 kB / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.003447, allocations: 12.92 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.003454, allocations: 0 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.003476, allocations: 34.64 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.003477, allocations: 4 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001079/0.003585, allocations: 45.56 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.003616, allocations: 51.41 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.003673, allocations: 118.7 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.003682, allocations: 25.7 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.003713, allocations: 92.06 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.003731, allocations: 15.91 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.003754, allocations: 13.72 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.00383, allocations: 318.8 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.00384, allocations: 0 / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.003849, allocations: 4 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.003873, allocations: 20.83 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.003875, allocations: 3.938 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.577e-05/0.003921, allocations: 41.62 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.003931, allocations: 4 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.003936, allocations: 4 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.003948, allocations: 7.938 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.004012, allocations: 4 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.004016, allocations: 4 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.004038, allocations: 8.312 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.004043, allocations: 0 / 0.641 GB, free: 10.68 MB / 0.6043 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 4.914e-05/0.004092, allocations: 109.8 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.004104, allocations: 4 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.004122, allocations: 11.97 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.004126, allocations: 3.938 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.004127, allocations: 4 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.00413, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.689e-05/0.004207, allocations: 69.91 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.004207, allocations: 0 / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.004233, allocations: 15.98 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.004234, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.004242, allocations: 4 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.004242, allocations: 3.938 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004243, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.372e-05/0.004317, allocations: 139.5 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.004323, allocations: 7.984 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.00433, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.004364, allocations: 4 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.004394, allocations: 11.98 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.004397, allocations: 3.938 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.154e-05/0.004408, allocations: 8.859 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004408, allocations: 0 / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001136/0.004522, allocations: 11.95 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 6.825e-05/0.00459, allocations: 76.41 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.004653, allocations: 24.8 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.004656, allocations: 4 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.004672, allocations: 8.859 kB / 0.6415 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.004803, allocations: 11.92 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.005032, allocations: 132.3 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.005065, allocations: 59.28 kB / 0.6417 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.005084, allocations: 8 kB / 0.6418 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.005133, allocations: 51.38 kB / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of SimCode: time 4.21e-07/0.005134, allocations: 0 / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of Templates: time 0.001949/0.007083, allocations: 0.6843 MB / 0.6425 GB, free: 9.113 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.266472885850817]