Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.0007021/0.0007021, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007391/0.0007391, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8319/0.8319, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.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.6851/0.6851, allocations: 155 MB / 414.9 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") [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.0009364/0.0009364, allocations: 64.08 kB / 0.6199 GB, free: 12.77 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3992, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001586/0.4008, allocations: 0.7403 MB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.4018, allocations: 0.8871 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.4018, allocations: 1.156 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.4019, allocations: 8.578 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.402, allocations: 11.53 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.4021, allocations: 45.58 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.4022, allocations: 90.91 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4023, allocations: 21.3 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.4024, allocations: 51.52 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.4025, allocations: 47.86 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.4025, allocations: 7.875 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.4025, allocations: 8.812 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.4026, allocations: 15.06 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.4026, allocations: 30.47 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.4028, allocations: 108.3 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4028, allocations: 0 / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4028, allocations: 0 / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4028, allocations: 4.797 kB / 0.7215 GB, free: 22.08 MB / 0.6355 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.0004521/0.4032, allocations: 321.6 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4033, allocations: 11.56 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.4033, allocations: 9.453 kB / 0.7218 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.4034, allocations: 117.5 kB / 0.7219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.4034, allocations: 6.969 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.4034, allocations: 8.031 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4036, allocations: 113.6 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4037, allocations: 0 / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4037, allocations: 1.875 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.4037, allocations: 1.344 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.4039, allocations: 96.88 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.4042, allocations: 270.9 kB / 0.7224 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4046, allocations: 120.4 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4047, allocations: 58.06 kB / 0.7226 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4047, allocations: 1.125 kB / 0.7226 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.4048, allocations: 32.78 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4048, allocations: 0 / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004112/0.4052, allocations: 187 kB / 0.7228 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.4052, allocations: 53.81 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.4053, allocations: 126.9 kB / 0.723 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.4053, allocations: 30.55 kB / 0.723 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.4053, allocations: 92.98 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.4053, allocations: 19.86 kB / 0.7231 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.4054, allocations: 27.86 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.246e-05/0.4054, allocations: 324 kB / 0.7235 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4055, allocations: 47.75 kB / 0.7235 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.4056, allocations: 49.28 kB / 0.7235 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4058, allocations: 95.97 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4058, allocations: 1.125 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002453/0.406, allocations: 139.2 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.406, allocations: 5.656 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4061, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4061, allocations: 1 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.4062, allocations: 27.44 kB / 0.7238 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4062, allocations: 1.672 kB / 0.7238 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.4062, allocations: 24.83 kB / 0.7238 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4063, allocations: 2.578 kB / 0.7238 GB, free: 20.36 MB / 0.6355 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,min1.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.095e-05/0.4063, allocations: 118.4 kB / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.4063, allocations: 11.86 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.4066, allocations: 152.9 kB / 0.7241 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4067, allocations: 5.125 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4067, allocations: 0 / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4067, allocations: 9.562 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.4068, allocations: 128.5 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4068, allocations: 0.8438 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.4069, allocations: 24.27 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4069, allocations: 1.172 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4069, allocations: 5.875 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4069, allocations: 5 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4069, allocations: 0 / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4072, allocations: 240.8 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.4072, allocations: 6.719 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4072, allocations: 1.641 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.4073, allocations: 20.28 kB / 0.7245 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.4073, allocations: 22.12 kB / 0.7245 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4073, allocations: 3.375 kB / 0.7246 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.4074, allocations: 97.27 kB / 0.7246 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4074, allocations: 0 / 0.7246 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001659/0.4075, allocations: 20.03 kB / 0.7247 GB, free: 19.74 MB / 0.6355 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 (min1.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 9.857e-05/0.4076, allocations: 97.33 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4079, allocations: 106.5 kB / 0.7249 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4079, allocations: 0 / 0.7249 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.408, allocations: 61.92 kB / 0.7249 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4083, allocations: 9.656 kB / 0.7249 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4086, allocations: 192.5 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.4087, allocations: 81.23 kB / 0.7252 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.4087, allocations: 22.17 kB / 0.7252 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4087, allocations: 4 kB / 0.7252 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.002496/0.4112, allocations: 1.27 MB / 0.7265 GB, free: 19.26 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.354374100919813] Failed to read output from testmodel.py, exit status != 0: 0.4170392679516226 0.42553958199999997 0.021036789 Calling exit ...