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.04417/0.04417, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.001007/0.001007, allocations: 95.2 kB / 35.33 MB, free: 1.074 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.001097/0.001097, allocations: 168.4 kB / 38.73 MB, free: 2.508 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.9265/0.9265, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.00414/0.00414, allocations: 0.83 MB / 276.5 MB, free: 0.7383 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.647/1.647, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.684e-06/1.684e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.117e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.004668/0.004689, allocations: 0.7681 MB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.005794, allocations: 0.9091 MB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.005838, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.00587, allocations: 7.875 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.005953, allocations: 15.94 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.006114, allocations: 43.88 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.006227, allocations: 79.77 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.006313, allocations: 19.98 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.006418, allocations: 59.81 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.006488, allocations: 39.88 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.006513, allocations: 8 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.006526, allocations: 8 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.006552, allocations: 19.92 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.00658, allocations: 23.97 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.006688, allocations: 63.8 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00669, allocations: 0 / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006691, allocations: 3.938 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.006694, allocations: 0 / 0.6399 GB, free: 12.04 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.0003927/0.007086, allocations: 288.6 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00712, allocations: 11.98 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.01016, allocations: 12.88 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.01025, allocations: 121.7 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.01027, allocations: 8.375 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.01029, allocations: 4.375 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.01044, allocations: 90.89 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.01045, allocations: 3.938 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.01046, allocations: 7.984 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01047, allocations: 0 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.01052, allocations: 23.92 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.01082, allocations: 188.2 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.01107, allocations: 74.45 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.01111, allocations: 20.8 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.01112, allocations: 0 / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.01114, allocations: 34.56 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.01114, allocations: 0 / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.00016/0.0113, allocations: 73.64 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.01134, allocations: 51.41 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.01141, allocations: 118.7 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.01142, allocations: 33.7 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.01146, allocations: 100.2 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.01148, allocations: 15.8 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.01152, allocations: 33.62 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.01161, allocations: 310.8 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.01163, allocations: 19.91 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.01165, allocations: 4 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.01171, allocations: 32.83 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.01172, allocations: 3.938 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.462e-05/0.01181, allocations: 57.67 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01182, allocations: 11.91 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01183, allocations: 0 / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01184, allocations: 0 / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.01192, allocations: 19.92 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01193, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.01198, allocations: 11.98 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.01198, allocations: 4 kB / 0.6416 GB, free: 10.12 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 6.935e-05/0.01205, allocations: 109.8 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01208, allocations: 12 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.01211, allocations: 16.42 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01211, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01211, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01211, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01224, allocations: 89.86 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01224, allocations: 4 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.01231, allocations: 19.97 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.01231, allocations: 7.938 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01232, allocations: 0 / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.01232, allocations: 0 / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01232, allocations: 4 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.01245, allocations: 155.5 kB / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.01246, allocations: 15.83 kB / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.01247, allocations: 0 / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.01254, allocations: 7.984 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.0126, allocations: 23.97 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.01261, allocations: 4 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.01263, allocations: 24.77 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01263, allocations: 0 / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000189/0.01282, allocations: 15.95 kB / 0.6421 GB, free: 9.578 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 7.15e-05/0.01289, allocations: 80.42 kB / 0.6422 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.003097/0.01599, allocations: 40.77 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01599, allocations: 0 / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.01604, allocations: 33.61 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01622, allocations: 8 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.01652, allocations: 176.9 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.01655, allocations: 55.36 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.869e-05/0.0166, allocations: 15.98 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.01669, allocations: 67.36 kB / 0.6425 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.01669, allocations: 0 / 0.6425 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of Templates: time 0.003876/0.02056, allocations: 1.702 MB / 0.6442 GB, free: 7.344 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3774159657768905]