Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.0008457/0.0008457, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008595/0.0008595, allocations: 212.2 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.008/1.008, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.03667/0.03667, allocations: 12.19 MB / 325.4 MB, free: 6.102 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.000538/0.000538, allocations: 19.97 kB / 384.8 MB, free: 10.54 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.857/1.857, allocations: 353.8 MB / 0.7794 GB, free: 4.59 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") [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.001779/0.001779, allocations: 123.6 kB / 1.061 GB, free: 24.47 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3129, allocations: 134.9 MB / 1.193 GB, free: 7.031 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.001907/0.3148, allocations: 0.7385 MB / 1.194 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3158, allocations: 0.8861 MB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.3159, allocations: 3.938 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.3159, allocations: 3.938 kB / 1.195 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.316, allocations: 15.86 kB / 1.195 GB, free: 5.375 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3163, allocations: 47.89 kB / 1.195 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3164, allocations: 83.81 kB / 1.195 GB, free: 5.246 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3165, allocations: 19.98 kB / 1.195 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3166, allocations: 39.86 kB / 1.195 GB, free: 5.188 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.3167, allocations: 43.81 kB / 1.195 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3167, allocations: 8 kB / 1.195 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.3168, allocations: 8 kB / 1.195 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.3168, allocations: 19.92 kB / 1.195 GB, free: 5.109 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.3168, allocations: 31.84 kB / 1.195 GB, free: 5.078 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.317, allocations: 91.59 kB / 1.195 GB, free: 4.988 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.317, allocations: 0 / 1.195 GB, free: 4.988 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.326e-06/0.317, allocations: 4 kB / 1.195 GB, free: 4.984 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.317, allocations: 0 / 1.195 GB, free: 4.984 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.0005868/0.3176, allocations: 318 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3176, allocations: 8.031 kB / 1.195 GB, free: 4.637 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.3177, allocations: 8.891 kB / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3178, allocations: 122.4 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3178, allocations: 4.375 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3178, allocations: 4.375 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3181, allocations: 113.5 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3181, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3181, allocations: 4 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3181, allocations: 4 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.3183, allocations: 91.91 kB / 1.196 GB, free: 4.262 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3188, allocations: 284.3 kB / 1.196 GB, free: 3.953 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3192, allocations: 114.6 kB / 1.196 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3193, allocations: 48.81 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3194, allocations: 0 / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3194, allocations: 46.48 kB / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3194, allocations: 0 / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004398/0.3198, allocations: 185.4 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3199, allocations: 55.41 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.32, allocations: 121.8 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.32, allocations: 25.7 kB / 1.196 GB, free: 3.312 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.32, allocations: 93.56 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.3201, allocations: 23.78 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.3201, allocations: 25.7 kB / 1.197 GB, free: 3.164 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3202, allocations: 326.8 kB / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.3207, allocations: 47.94 kB / 1.197 GB, free: 2.789 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.3208, allocations: 43.95 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3209, allocations: 96.77 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.321, allocations: 4 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002505/0.3212, allocations: 141.5 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3212, allocations: 4 kB / 1.197 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3212, allocations: 3.938 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3212, allocations: 4 kB / 1.197 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.3213, allocations: 23.97 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3214, allocations: 4 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.3214, allocations: 11.98 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3214, allocations: 3.938 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,max1.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 8.756e-05/0.3215, allocations: 121.8 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3215, allocations: 7.953 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.3218, allocations: 157.9 kB / 1.197 GB, free: 2.145 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3218, allocations: 4 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3218, allocations: 0 / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3218, allocations: 0 / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.322, allocations: 137.2 kB / 1.198 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.322, allocations: 0 / 1.198 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.3221, allocations: 23.97 kB / 1.198 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3221, allocations: 0 / 1.198 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3221, allocations: 3.984 kB / 1.198 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3221, allocations: 4 kB / 1.198 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3221, allocations: 4 kB / 1.198 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.3224, allocations: 235.3 kB / 1.198 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3224, allocations: 15.89 kB / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3224, allocations: 0 / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.3225, allocations: 11.98 kB / 1.198 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3225, allocations: 19.97 kB / 1.198 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3225, allocations: 4 kB / 1.198 GB, free: 1.645 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.59e-05/0.3226, allocations: 99.64 kB / 1.198 GB, free: 1.547 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3226, allocations: 3.938 kB / 1.198 GB, free: 1.543 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000152/0.3227, allocations: 16 kB / 1.198 GB, free: 1.527 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 (max1.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.0001229/0.3229, allocations: 103.2 kB / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.3231, allocations: 108.5 kB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3231, allocations: 4 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3232, allocations: 55.94 kB / 1.198 GB, free: 1.254 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3235, allocations: 11.31 kB / 1.198 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.324, allocations: 211.7 kB / 1.199 GB, free: 1.004 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.324, allocations: 79.27 kB / 1.199 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.3241, allocations: 19.44 kB / 1.199 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of SimCode: time 8.51e-07/0.3241, allocations: 0 / 1.199 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of Templates: time 0.002464/0.3265, allocations: 1.258 MB / 1.2 GB, free: 15.64 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.345464575104415] Failed to read output from testmodel.py, exit status != 0: 0.33496487978845835 0.34326918700000003 0.024439004 Calling exit ...