Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007616/0.0007616, allocations: 76.45 kB / 19.9 MB, free: 8 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.000807/0.000807, allocations: 169.9 kB / 23.18 MB, free: 1.375 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.97/0.97, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7285/0.7285, allocations: 154.7 MB / 414.7 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.000971/0.000971, allocations: 67.91 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.5592/0.5601, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001738/0.5619, allocations: 0.6893 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.5628, allocations: 0.8516 MB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.5629, allocations: 1.688 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.5629, allocations: 4.875 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.563, allocations: 4.828 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.5632, allocations: 26.91 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.5633, allocations: 47.88 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.5635, allocations: 19.22 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.5636, allocations: 21.64 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.5636, allocations: 29.47 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.5637, allocations: 3.344 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.5637, allocations: 8.812 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.5637, allocations: 10.97 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.5637, allocations: 14.05 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.5639, allocations: 54.34 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5639, allocations: 1.062 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5639, allocations: 0 / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.5639, allocations: 0 / 0.7209 GB, free: 22.44 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.0006338/0.5645, allocations: 283.5 kB / 0.7211 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.5646, allocations: 10.44 kB / 0.7211 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.5646, allocations: 3.125 kB / 0.7211 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.5648, allocations: 122.6 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.5648, allocations: 6.562 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5648, allocations: 6.406 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.565, allocations: 68.55 kB / 0.7213 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5651, allocations: 1.25 kB / 0.7213 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5651, allocations: 0 / 0.7213 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.5651, allocations: 5.188 kB / 0.7213 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.5652, allocations: 51.91 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.5657, allocations: 232.6 kB / 0.7216 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.5659, allocations: 64.69 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.566, allocations: 27.88 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.566, allocations: 1.906 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.566, allocations: 35.66 kB / 0.7217 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.405e-06/0.566, allocations: 0 / 0.7217 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.00034/0.5663, allocations: 106.3 kB / 0.7218 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.5664, allocations: 52.69 kB / 0.7219 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.5665, allocations: 111.6 kB / 0.722 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5665, allocations: 25.7 kB / 0.722 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5665, allocations: 91.7 kB / 0.7221 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.5666, allocations: 13.62 kB / 0.7221 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.5666, allocations: 24.72 kB / 0.7221 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.5667, allocations: 321.3 kB / 0.7224 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.5668, allocations: 23 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.5668, allocations: 23.98 kB / 0.7225 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.5669, allocations: 53.38 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5669, allocations: 0 / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001702/0.5671, allocations: 92.05 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5671, allocations: 7.609 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5671, allocations: 0.75 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.5672, allocations: 4.938 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5673, allocations: 11.86 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5673, allocations: 0 / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.5673, allocations: 13.03 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.5673, allocations: 1.609 kB / 0.7227 GB, free: 20.86 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 5.835e-05/0.5674, allocations: 118.6 kB / 0.7228 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.5674, allocations: 6.312 kB / 0.7228 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.5674, allocations: 6.438 kB / 0.7228 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5674, allocations: 0 / 0.7228 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5674, allocations: 1.25 kB / 0.7228 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5674, allocations: 0.6562 kB / 0.7228 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5675, allocations: 119.2 kB / 0.7229 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5675, allocations: 0 / 0.7229 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.5676, allocations: 15.78 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5676, allocations: 1.75 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5676, allocations: 0.6562 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5676, allocations: 4 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5676, allocations: 1.984 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.5678, allocations: 187.2 kB / 0.7231 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.5678, allocations: 2.984 kB / 0.7231 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5678, allocations: 1.719 kB / 0.7231 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.5679, allocations: 11.86 kB / 0.7231 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.568, allocations: 12.64 kB / 0.7231 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.568, allocations: 1.094 kB / 0.7231 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.568, allocations: 85.28 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.568, allocations: 4 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001464/0.5681, allocations: 17.95 kB / 0.7232 GB, free: 20.34 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 0.0001203/0.5683, allocations: 94.59 kB / 0.7233 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.5685, allocations: 55.06 kB / 0.7234 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5685, allocations: 0 / 0.7234 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.5685, allocations: 33.08 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.5689, allocations: 11.8 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.5694, allocations: 128.6 kB / 0.7235 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.5695, allocations: 65.47 kB / 0.7236 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.166e-05/0.5695, allocations: 3.734 kB / 0.7236 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.5696, allocations: 18.22 kB / 0.7236 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.5696, allocations: 4 kB / 0.7236 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.004066/0.5736, allocations: 0.9667 MB / 0.7246 GB, free: 19.92 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.419298683991656] Failed to read output from testmodel.py, exit status != 0: 0.5828226460143924 0.5967833459999999 0.030049052000000003 Calling exit ...