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/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.000704/0.000704, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.0008156/0.0008156, allocations: 212.1 kB / 23 MB, free: 2.977 MB / 13.93 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 1.005/1.005, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.03896/0.03896, allocations: 12.2 MB / 325.4 MB, free: 6.086 MB / 250.7 MB " [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.0004637/0.0004637, allocations: 27.95 kB / 384.8 MB, free: 10.51 MB / 314.7 MB " [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.815/1.815, allocations: 353.8 MB / 0.7794 GB, free: 4.586 MB / 0.5105 GB " [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.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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 127.8 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3015, allocations: 134.9 MB / 1.193 GB, free: 7.039 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001669/0.3032, allocations: 0.7419 MB / 1.194 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.304, allocations: 0.886 MB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.304, allocations: 0 / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.304, allocations: 7.875 kB / 1.195 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.3041, allocations: 15.86 kB / 1.195 GB, free: 5.379 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.3043, allocations: 35.97 kB / 1.195 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.761e-05/0.3044, allocations: 95.73 kB / 1.195 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3045, allocations: 16 kB / 1.195 GB, free: 5.234 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.3046, allocations: 39.84 kB / 1.195 GB, free: 5.195 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.3047, allocations: 47.81 kB / 1.195 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3047, allocations: 8 kB / 1.195 GB, free: 5.141 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3047, allocations: 8 kB / 1.195 GB, free: 5.133 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.3047, allocations: 19.92 kB / 1.195 GB, free: 5.113 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3048, allocations: 31.84 kB / 1.195 GB, free: 5.082 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3049, allocations: 91.59 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3049, allocations: 0 / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3049, allocations: 0 / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3049, allocations: 0 / 1.195 GB, free: 4.992 MB / 0.823 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.0004749/0.3054, allocations: 322 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3054, allocations: 8.031 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3054, allocations: 8.891 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.3055, allocations: 114.5 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3056, allocations: 4.375 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3056, allocations: 12.36 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.3058, allocations: 109.5 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3058, allocations: 4 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3058, allocations: 3.938 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3058, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.306, allocations: 103.8 kB / 1.196 GB, free: 4.258 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3064, allocations: 272.3 kB / 1.196 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.3067, allocations: 118.5 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3068, allocations: 56.81 kB / 1.196 GB, free: 3.777 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3068, allocations: 0 / 1.196 GB, free: 3.777 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3069, allocations: 34.56 kB / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3069, allocations: 0 / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003924/0.3073, allocations: 185.4 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.3073, allocations: 55.41 kB / 1.196 GB, free: 3.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.3074, allocations: 121.8 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3074, allocations: 25.7 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.3074, allocations: 96.08 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3074, allocations: 19.8 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.3075, allocations: 25.7 kB / 1.197 GB, free: 3.172 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.3076, allocations: 326.8 kB / 1.197 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.622e-05/0.3077, allocations: 47.95 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.3077, allocations: 47.94 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.3079, allocations: 97.23 kB / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3079, allocations: 0 / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002262/0.3082, allocations: 141.5 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3082, allocations: 4 kB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3082, allocations: 0 / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3082, allocations: 0 / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.3083, allocations: 27.97 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3083, allocations: 0 / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.3083, allocations: 19.97 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3083, allocations: 11.88 kB / 1.197 GB, free: 2.445 MB / 0.823 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.404e-05/0.3084, allocations: 113.8 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.3084, allocations: 7.953 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.3084, allocations: 8.375 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3084, allocations: 0 / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3084, allocations: 0 / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3084, allocations: 3.984 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3085, allocations: 133.2 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3086, allocations: 8 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.3086, allocations: 31.91 kB / 1.198 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3086, allocations: 3.984 kB / 1.198 GB, free: 2.098 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3086, allocations: 4 kB / 1.198 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.3086, allocations: 0 / 1.198 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3086, allocations: 0 / 1.198 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3089, allocations: 231.3 kB / 1.198 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.3089, allocations: 11.89 kB / 1.198 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3089, allocations: 7.938 kB / 1.198 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.309, allocations: 15.98 kB / 1.198 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.309, allocations: 23.97 kB / 1.198 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.309, allocations: 3.984 kB / 1.198 GB, free: 1.789 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.3091, allocations: 99.64 kB / 1.198 GB, free: 1.691 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3091, allocations: 3.938 kB / 1.198 GB, free: 1.688 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000149/0.3092, allocations: 16 kB / 1.198 GB, free: 1.672 MB / 0.823 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 0.0001017/0.3093, allocations: 99.17 kB / 1.198 GB, free: 1.566 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3096, allocations: 99.91 kB / 1.198 GB, free: 1.469 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3096, allocations: 0 / 1.198 GB, free: 1.469 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3097, allocations: 63.88 kB / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3099, allocations: 8 kB / 1.198 GB, free: 1.398 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.3102, allocations: 213.4 kB / 1.198 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.3103, allocations: 79.33 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.3103, allocations: 11.44 kB / 1.198 GB, free: 1.047 MB / 0.823 GB Notification: Performance of SimCode: time 6.91e-07/0.3103, allocations: 4 kB / 1.198 GB, free: 1.043 MB / 0.823 GB Notification: Performance of Templates: time 0.001894/0.3122, allocations: 1.265 MB / 1.2 GB, free: 15.79 MB / 0.8387 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.665336458943784] Failed to read output from testmodel.py, exit status != 0: 0.3184080207720399 0.32575129299999994 0.019218911 Calling exit ...