Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007264/0.0007264, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007973/0.0007973, allocations: 203.2 kB / 23 MB, free: 3.113 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.8544/0.8544, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7395/0.7395, allocations: 203.8 MB / 0.5049 GB, free: 0.7227 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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [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.0008828/0.0008828, allocations: 67.88 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4389, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001542/0.4405, allocations: 0.6956 MB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000776/0.4412, allocations: 0.8737 MB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.4413, allocations: 1 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.4413, allocations: 4.594 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.4414, allocations: 6.016 kB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.4415, allocations: 26.42 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.4416, allocations: 44.41 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4417, allocations: 9.875 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.4418, allocations: 22.8 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.4419, allocations: 28.33 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.4419, allocations: 9.125 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.4419, allocations: 4.594 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.4419, allocations: 13.64 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.4419, allocations: 17.2 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.442, allocations: 50.28 kB / 0.8209 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.442, allocations: 5.656 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.442, allocations: 0.7812 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4421, allocations: 0 / 0.8209 GB, free: 24.01 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.0003957/0.4424, allocations: 281.8 kB / 0.8211 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4425, allocations: 10.44 kB / 0.8211 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.4425, allocations: 9.797 kB / 0.8211 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.4426, allocations: 107 kB / 0.8213 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4426, allocations: 6.188 kB / 0.8213 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.4426, allocations: 2.625 kB / 0.8213 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.4428, allocations: 74.83 kB / 0.8213 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4428, allocations: 0 / 0.8213 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4428, allocations: 0.7812 kB / 0.8213 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4428, allocations: 1.812 kB / 0.8213 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.4429, allocations: 52.59 kB / 0.8214 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.4433, allocations: 260.4 kB / 0.8216 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4434, allocations: 64.86 kB / 0.8217 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.4435, allocations: 33.89 kB / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4435, allocations: 0.5938 kB / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.4435, allocations: 32.19 kB / 0.8218 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.4435, allocations: 3 kB / 0.8218 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002736/0.4438, allocations: 105.4 kB / 0.8219 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.4438, allocations: 56.16 kB / 0.8219 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.4439, allocations: 115.8 kB / 0.822 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.4439, allocations: 26.23 kB / 0.8221 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.4439, allocations: 95.52 kB / 0.8221 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.4439, allocations: 9.047 kB / 0.8221 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.444, allocations: 20.38 kB / 0.8222 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.444, allocations: 317.7 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.444, allocations: 23.23 kB / 0.8225 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.4441, allocations: 33.72 kB / 0.8225 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.4442, allocations: 49.81 kB / 0.8226 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4442, allocations: 0.5312 kB / 0.8226 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.4444, allocations: 87.27 kB / 0.8227 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4444, allocations: 6.047 kB / 0.8227 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4444, allocations: 4.469 kB / 0.8227 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4444, allocations: 0.5625 kB / 0.8227 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.4445, allocations: 12.08 kB / 0.8227 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4445, allocations: 5.031 kB / 0.8227 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.4445, allocations: 11.66 kB / 0.8227 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4445, allocations: 5.484 kB / 0.8227 GB, free: 22.43 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,intLesEquThr.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 4.677e-05/0.4446, allocations: 114.2 kB / 0.8228 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.4446, allocations: 6.062 kB / 0.8228 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.4446, allocations: 9.75 kB / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4446, allocations: 1.406 kB / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4446, allocations: 0 / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4446, allocations: 0.5625 kB / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.4447, allocations: 150.3 kB / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4447, allocations: 0 / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.4448, allocations: 12.17 kB / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4448, allocations: 0.8438 kB / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4448, allocations: 4.969 kB / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4448, allocations: 5.609 kB / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4448, allocations: 0 / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.4449, allocations: 183.5 kB / 0.8232 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.4449, allocations: 6.891 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.4449, allocations: 0.5156 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.445, allocations: 8.031 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.4451, allocations: 15.39 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.4451, allocations: 1.906 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.311e-05/0.4451, allocations: 87.77 kB / 0.8233 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4451, allocations: 0 / 0.8233 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001414/0.4452, allocations: 14.22 kB / 0.8233 GB, free: 21.87 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 (intLesEquThr.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 7.686e-05/0.4453, allocations: 99.2 kB / 0.8234 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.4455, allocations: 63.53 kB / 0.8235 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4455, allocations: 1.094 kB / 0.8235 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.884e-05/0.4455, allocations: 27.09 kB / 0.8235 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.4457, allocations: 4.812 kB / 0.8235 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.446, allocations: 159.5 kB / 0.8236 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.4461, allocations: 0.682 MB / 0.8243 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.4461, allocations: 15.64 kB / 0.8243 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4461, allocations: 0 / 0.8243 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.002007/0.4481, allocations: 0.8198 MB / 0.8251 GB, free: 20.84 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.482537419069558] Failed to read output from testmodel.py, exit status != 0: 0.45370876183733344 0.4622571 0.018378511 Calling exit ...