Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.04198/0.04198, allocations: 9.13 MB / 28.99 MB, free: 0.8086 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.0008306/0.0008306, allocations: 91.27 kB / 35.33 MB, free: 1.062 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.001006/0.001006, allocations: 163.7 kB / 38.73 MB, free: 2.5 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.9628/0.9628, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004148/0.004148, allocations: 0.8263 MB / 276.5 MB, free: 0.7305 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.629/1.629, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.119e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001484/0.001505, allocations: 0.819 MB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.002477, allocations: 0.9091 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.002523, allocations: 4 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.002553, allocations: 7.938 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.002638, allocations: 7.875 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.002788, allocations: 47.81 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.002879, allocations: 83.77 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.002966, allocations: 19.97 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.003061, allocations: 51.91 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.003119, allocations: 35.94 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.00314, allocations: 8 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.003152, allocations: 8 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.003173, allocations: 23.91 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.003199, allocations: 27.91 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.003292, allocations: 67.72 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003294, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003295, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003299, allocations: 4 kB / 0.64 GB, free: 11.95 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00033/0.003629, allocations: 288.6 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.003664, allocations: 15.98 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.003694, allocations: 4.938 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.00378, allocations: 117.8 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.003796, allocations: 8.375 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.003805, allocations: 4.375 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.00395, allocations: 94.81 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.003958, allocations: 3.938 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.00397, allocations: 4 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.003975, allocations: 4 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.386e-05/0.004019, allocations: 19.92 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.004305, allocations: 204.1 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.004518, allocations: 70.41 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.004543, allocations: 12.86 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.004557, allocations: 4 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.004581, allocations: 34.56 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004582, allocations: 0 / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001349/0.004717, allocations: 65.66 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.004742, allocations: 55.34 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.004798, allocations: 126.7 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.004809, allocations: 29.7 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.004848, allocations: 92.08 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.004871, allocations: 23.78 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.004904, allocations: 25.69 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.004973, allocations: 318.8 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.004993, allocations: 7.984 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.005011, allocations: 8 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.005059, allocations: 28.83 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005061, allocations: 7.938 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.276e-05/0.005134, allocations: 61.61 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.005145, allocations: 7.984 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.005149, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.00516, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.005233, allocations: 19.98 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.005236, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.005272, allocations: 11.98 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005277, allocations: 0 / 0.6417 GB, free: 10.04 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: 3 (reaToInt1.y,reaToInt.y,sub.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 5.523e-05/0.005332, allocations: 117.8 kB / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.005353, allocations: 11.94 kB / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.005374, allocations: 16.42 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.005377, allocations: 4 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005379, allocations: 0 / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005382, allocations: 0 / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.005476, allocations: 81.88 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005477, allocations: 0 / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.005529, allocations: 23.91 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.005533, allocations: 7.922 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.00554, allocations: 12 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005541, allocations: 0 / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005541, allocations: 0 / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.005652, allocations: 151.5 kB / 0.6421 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.005667, allocations: 15.81 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.00568, allocations: 4 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.005757, allocations: 4 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.005812, allocations: 23.97 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.005817, allocations: 0 / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.91e-05/0.005836, allocations: 20.84 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.005836, allocations: 4 kB / 0.6421 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000129/0.005965, allocations: 19.95 kB / 0.6422 GB, free: 9.488 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 6.714e-05/0.006032, allocations: 80.34 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.569e-05/0.006118, allocations: 37.45 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.00612, allocations: 0 / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.00616, allocations: 32.94 kB / 0.6423 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.006296, allocations: 12.14 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.00655, allocations: 172.9 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.006581, allocations: 63.34 kB / 0.6425 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.006622, allocations: 12 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.006696, allocations: 67.36 kB / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of SimCode: time 7.12e-07/0.006697, allocations: 0 / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of Templates: time 0.002952/0.009649, allocations: 1.702 MB / 0.6443 GB, free: 7.254 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.268538794014603]