Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0007338/0.0007338, 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.0007223/0.0007223, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8467/0.8467, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7048/0.7048, allocations: 155 MB / 415 MB, free: 480 kB / 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") [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.0009358/0.0009358, allocations: 67.84 kB / 0.6199 GB, free: 12.74 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.3878/0.3888, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001279/0.39, allocations: 0.687 MB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006717/0.3907, allocations: 0.8509 MB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.3908, allocations: 5.469 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.3908, allocations: 4.594 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.3909, allocations: 6.156 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.391, allocations: 25.45 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.3911, allocations: 52.33 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.3912, allocations: 10.84 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.3912, allocations: 25.52 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.3913, allocations: 24.75 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3913, allocations: 4.25 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-06/0.3913, allocations: 4.531 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.3913, allocations: 15.98 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.3914, allocations: 15.03 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.3915, allocations: 59.97 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3915, allocations: 0 / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3915, allocations: 0 / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3915, allocations: 0.9688 kB / 0.7212 GB, free: 22.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003521/0.3918, allocations: 282.7 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3919, allocations: 10.97 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.3919, allocations: 4.406 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.392, allocations: 119.3 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.392, allocations: 14.53 kB / 0.7216 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.392, allocations: 6.781 kB / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3921, allocations: 63.19 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3921, allocations: 1 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3921, allocations: 0.6094 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3921, allocations: 1.156 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3923, allocations: 51.52 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.3925, allocations: 244.3 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3927, allocations: 60.75 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.3927, allocations: 28.34 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3927, allocations: 1 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.3927, allocations: 33.56 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3927, allocations: 0 / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000258/0.393, allocations: 113.1 kB / 0.7222 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.393, allocations: 56.53 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/0.3931, allocations: 107.3 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.3931, allocations: 30.8 kB / 0.7224 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.3931, allocations: 90.94 kB / 0.7225 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.3931, allocations: 10.78 kB / 0.7225 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.3931, allocations: 20.14 kB / 0.7225 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.784e-05/0.3932, allocations: 321.4 kB / 0.7228 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.3932, allocations: 22.92 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.3933, allocations: 23.52 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3934, allocations: 57.44 kB / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3934, allocations: 1.219 kB / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.3935, allocations: 86 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3935, allocations: 6.375 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3935, allocations: 0 / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3935, allocations: 1.094 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.3936, allocations: 15.34 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3936, allocations: 1.031 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.3937, allocations: 8.562 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3937, allocations: 2.031 kB / 0.723 GB, free: 20.7 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 3.887e-05/0.3937, allocations: 118.3 kB / 0.7232 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.3937, allocations: 1.969 kB / 0.7232 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.3937, allocations: 6.906 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3937, allocations: 0 / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3937, allocations: 1.625 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3937, allocations: 0 / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.666e-05/0.3938, allocations: 123.6 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3938, allocations: 5.219 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.3939, allocations: 10.33 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3939, allocations: 5.719 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3939, allocations: 0.5625 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.3939, allocations: 1.219 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.3939, allocations: 0 / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.394, allocations: 185.4 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.394, allocations: 2.062 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.394, allocations: 9.125 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.3941, allocations: 13.41 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3941, allocations: 11.62 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3941, allocations: 5.125 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.942e-05/0.3941, allocations: 83.92 kB / 0.7236 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.3941, allocations: 1.125 kB / 0.7236 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001421/0.3943, allocations: 14.45 kB / 0.7236 GB, free: 20.18 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.462e-05/0.3944, allocations: 97.5 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.3945, allocations: 59.45 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3945, allocations: 1.125 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.3946, allocations: 32 kB / 0.7238 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.3948, allocations: 9.125 kB / 0.7238 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.395, allocations: 156.9 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.3951, allocations: 66.3 kB / 0.724 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.3951, allocations: 21.53 kB / 0.724 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.3951, allocations: 0 / 0.724 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.001708/0.3968, allocations: 0.828 MB / 0.7249 GB, free: 19.78 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342547459062189] Failed to read output from testmodel.py, exit status != 0: 0.4025512859225273 0.41112950200000004 0.017888269000000002 Calling exit ...