Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007126/0.0007126, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007464/0.0007464, allocations: 207.4 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 0.8187/0.8187, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7112/0.7112, allocations: 203.8 MB / 0.5049 GB, free: 10.39 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: IDEAS 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.0008359/0.0008359, allocations: 60.78 kB / 0.7194 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3982, allocations: 102 MB / 0.819 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.00124/0.3995, allocations: 0.739 MB / 0.8198 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.4001, allocations: 0.8909 MB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.4001, allocations: 0 / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.4001, allocations: 9.234 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.4002, allocations: 12.11 kB / 0.8206 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.4003, allocations: 42.53 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.4004, allocations: 90.06 kB / 0.8208 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.4005, allocations: 21.67 kB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.4006, allocations: 36.36 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.4006, allocations: 46.55 kB / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4007, allocations: 15.31 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.4007, allocations: 7.156 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.4007, allocations: 18.8 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.4007, allocations: 26.98 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.4008, allocations: 94.86 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4009, allocations: 0 / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4009, allocations: 1.312 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4009, allocations: 0 / 0.821 GB, free: 15.97 MB / 0.6198 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.0004151/0.4013, allocations: 319.9 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.4013, allocations: 11.88 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.4013, allocations: 9.047 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.929e-05/0.4014, allocations: 117.1 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4014, allocations: 9 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.4015, allocations: 2.688 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.4016, allocations: 110 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4016, allocations: 0 / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4017, allocations: 4.797 kB / 0.8216 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4017, allocations: 5.5 kB / 0.8216 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.4019, allocations: 98.39 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.4022, allocations: 266.1 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.4025, allocations: 119.2 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.4026, allocations: 55.03 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.4026, allocations: 3.781 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4027, allocations: 35.17 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.4027, allocations: 0 / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003696/0.403, allocations: 191 kB / 0.8223 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.4031, allocations: 55.41 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.4031, allocations: 124 kB / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.4031, allocations: 27.27 kB / 0.8225 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.4032, allocations: 101.5 kB / 0.8226 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.4032, allocations: 19.52 kB / 0.8226 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.4032, allocations: 23.67 kB / 0.8227 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.4033, allocations: 325.9 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.179e-05/0.4034, allocations: 41.83 kB / 0.823 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/0.4035, allocations: 53.78 kB / 0.8231 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.4037, allocations: 98.47 kB / 0.8232 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4037, allocations: 0 / 0.8232 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003285/0.404, allocations: 137.2 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.404, allocations: 11.16 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.404, allocations: 0 / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.404, allocations: 2.969 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.4041, allocations: 25.48 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4041, allocations: 0 / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.4041, allocations: 14.66 kB / 0.8233 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.4042, allocations: 7.875 kB / 0.8233 GB, free: 14.26 MB / 0.6198 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 7.077e-05/0.4042, allocations: 113.4 kB / 0.8234 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.4042, allocations: 11.73 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4045, allocations: 153.6 kB / 0.8236 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4045, allocations: 0 / 0.8236 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4045, allocations: 1.156 kB / 0.8236 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4045, allocations: 0.7969 kB / 0.8236 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.4046, allocations: 132.5 kB / 0.8237 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4046, allocations: 5.891 kB / 0.8237 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.4047, allocations: 27.64 kB / 0.8238 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4047, allocations: 4.5 kB / 0.8238 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.4047, allocations: 2.156 kB / 0.8238 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4047, allocations: 1.188 kB / 0.8238 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4047, allocations: 0.5156 kB / 0.8238 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.4049, allocations: 240.2 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.4049, allocations: 11.19 kB / 0.824 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.405, allocations: 5.969 kB / 0.824 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.405, allocations: 11.62 kB / 0.824 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4051, allocations: 22 kB / 0.8241 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.4051, allocations: 8.25 kB / 0.8241 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.4051, allocations: 93.08 kB / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4051, allocations: 0 / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001491/0.4053, allocations: 16 kB / 0.8242 GB, free: 13.64 MB / 0.6198 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 6.246e-05/0.4053, allocations: 106.3 kB / 0.8243 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.4056, allocations: 102 kB / 0.8244 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4056, allocations: 5.375 kB / 0.8244 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.4057, allocations: 52.45 kB / 0.8244 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.4059, allocations: 18.45 kB / 0.8244 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.4062, allocations: 201 kB / 0.8246 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.4062, allocations: 78.12 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.4062, allocations: 16.56 kB / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.4062, allocations: 0.9688 kB / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.001916/0.4082, allocations: 1.262 MB / 0.826 GB, free: 13.16 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.044598653912544] Failed to read output from testmodel.py, exit status != 0: 0.41332739777863026 0.42214664300000004 0.019565292 Calling exit ...