Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0007861/0.0007861, 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.0008146/0.0008146, allocations: 211.1 kB / 23.01 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.8434/0.8434, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.7126/0.7126, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [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.0008748/0.0008748, allocations: 59.91 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4129, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001428/0.4143, allocations: 0.6983 MB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.415, allocations: 0.8709 MB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.4151, allocations: 5.156 kB / 0.8206 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.4151, allocations: 0.5312 kB / 0.8206 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.4152, allocations: 6.75 kB / 0.8206 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.4153, allocations: 26.28 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.4154, allocations: 48.41 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.4155, allocations: 10.78 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.4156, allocations: 19.69 kB / 0.8207 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.4156, allocations: 28.58 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.4156, allocations: 5.375 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.4157, allocations: 3.562 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.4157, allocations: 12.75 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.4157, allocations: 17.28 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.841e-05/0.4158, allocations: 56.31 kB / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4158, allocations: 0 / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4158, allocations: 0.9375 kB / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4158, allocations: 0.875 kB / 0.8209 GB, free: 24 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.0003648/0.4162, allocations: 287.8 kB / 0.8211 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4162, allocations: 10.97 kB / 0.8211 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.4162, allocations: 11.83 kB / 0.8212 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.4163, allocations: 108 kB / 0.8213 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4163, allocations: 6.469 kB / 0.8213 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.4164, allocations: 2.344 kB / 0.8213 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.4165, allocations: 73.72 kB / 0.8213 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4165, allocations: 0.8438 kB / 0.8213 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.4165, allocations: 1.875 kB / 0.8213 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4165, allocations: 1.875 kB / 0.8213 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4166, allocations: 51.75 kB / 0.8214 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.4169, allocations: 267.2 kB / 0.8216 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.4171, allocations: 59.92 kB / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.4171, allocations: 36.61 kB / 0.8217 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.4171, allocations: 0 / 0.8217 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.4171, allocations: 32.58 kB / 0.8218 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.4171, allocations: 3.938 kB / 0.8218 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002566/0.4174, allocations: 106.1 kB / 0.8219 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.4174, allocations: 54.34 kB / 0.8219 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.4175, allocations: 107.1 kB / 0.822 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.4175, allocations: 25.7 kB / 0.822 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.4175, allocations: 95.25 kB / 0.8221 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.4175, allocations: 10.52 kB / 0.8222 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.4175, allocations: 19.44 kB / 0.8222 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.756e-05/0.4176, allocations: 318.3 kB / 0.8225 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.4176, allocations: 22.45 kB / 0.8225 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.374e-05/0.4177, allocations: 34.23 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4178, allocations: 58.84 kB / 0.8226 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4178, allocations: 0 / 0.8226 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.4179, allocations: 83.16 kB / 0.8227 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4179, allocations: 5.75 kB / 0.8227 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.4179, allocations: 0 / 0.8227 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.418, allocations: 2.031 kB / 0.8227 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.418, allocations: 11.25 kB / 0.8227 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.418, allocations: 1.531 kB / 0.8227 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.4181, allocations: 16.62 kB / 0.8227 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4181, allocations: 0.625 kB / 0.8227 GB, free: 22.41 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,intGreThr.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.362e-05/0.4181, allocations: 114.1 kB / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.4182, allocations: 10.14 kB / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.4182, allocations: 10.31 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4182, allocations: 0.6875 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4182, allocations: 0.9844 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4182, allocations: 0.9375 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.106e-05/0.4183, allocations: 152.8 kB / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4183, allocations: 1.484 kB / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.4183, allocations: 14.98 kB / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4183, allocations: 1.266 kB / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4183, allocations: 0.8438 kB / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4183, allocations: 1.938 kB / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4183, allocations: 0 / 0.823 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.4185, allocations: 188 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.4185, allocations: 6.75 kB / 0.8232 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.4185, allocations: 0.5938 kB / 0.8232 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.4185, allocations: 7.75 kB / 0.8232 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.4186, allocations: 16.64 kB / 0.8232 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4186, allocations: 1.531 kB / 0.8232 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.4186, allocations: 87.03 kB / 0.8233 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4186, allocations: 0 / 0.8233 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000141/0.4187, allocations: 10.59 kB / 0.8233 GB, free: 21.85 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 (intGreThr.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.389e-05/0.4188, allocations: 103.9 kB / 0.8234 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.419, allocations: 54.48 kB / 0.8234 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.419, allocations: 0 / 0.8234 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.419, allocations: 36.03 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.4192, allocations: 3.641 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.4195, allocations: 164.3 kB / 0.8236 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.4195, allocations: 0.6808 MB / 0.8243 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.4196, allocations: 16.58 kB / 0.8243 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4196, allocations: 0 / 0.8243 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.001881/0.4215, allocations: 0.8135 MB / 0.8251 GB, free: 20.82 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.398884048918262] Failed to read output from testmodel.py, exit status != 0: 0.4261976408306509 0.43356277600000004 0.016210175 Calling exit ...