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.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 284 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.001106/0.001106, allocations: 165 kB / 23.01 MB, free: 1.559 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 1.068/1.068, allocations: 177.1 MB / 203.4 MB, free: 5.656 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-545:108: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-545:116: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.8153/0.8153, allocations: 154.6 MB / 414.5 MB, free: 0.6992 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: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0.9844 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.999e-05, allocations: 10.08 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001946/0.001976, allocations: 0.6925 MB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.00313, allocations: 0.8812 MB / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.003175, allocations: 0 / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.003214, allocations: 7.922 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.324e-05/0.003298, allocations: 4.812 kB / 0.5219 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.00347, allocations: 25.61 kB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.003562, allocations: 43.91 kB / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003676, allocations: 11.98 kB / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.003772, allocations: 27.91 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.003832, allocations: 16.73 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.003859, allocations: 4 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.003877, allocations: 5.281 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.003903, allocations: 19.91 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.003933, allocations: 12 kB / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004045, allocations: 37.06 kB / 0.5221 GB, free: 448 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004048, allocations: 0 / 0.5221 GB, free: 448 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004049, allocations: 0 / 0.5221 GB, free: 448 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004054, allocations: 4 kB / 0.5221 GB, free: 444 kB / 490.7 MB 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.0004846/0.004538, allocations: 374.8 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.004587, allocations: 8.031 kB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.004638, allocations: 8.891 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.004776, allocations: 116.5 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.004806, allocations: 4.375 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.004824, allocations: 6.156 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.005001, allocations: 66.92 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.005014, allocations: 3.938 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.005026, allocations: 4 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.005035, allocations: 0.5625 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.005094, allocations: 19.95 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.005504, allocations: 284.6 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.005623, allocations: 52.02 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.005661, allocations: 15.75 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.005684, allocations: 4.844 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.005708, allocations: 37.39 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.00571, allocations: 1.031 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002152/0.005925, allocations: 57.62 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.005957, allocations: 52.88 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.006055, allocations: 169.9 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.006067, allocations: 25.7 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.006127, allocations: 138.9 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.006144, allocations: 9.047 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.006192, allocations: 23.38 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.006361, allocations: 0.4923 MB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.006398, allocations: 4.688 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.006428, allocations: 7.984 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.87e-05/0.006496, allocations: 28.91 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.006501, allocations: 3.938 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001348/0.006636, allocations: 53.64 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.006658, allocations: 9.062 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.006664, allocations: 0 / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.006691, allocations: 0.5312 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.006819, allocations: 7.984 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.006827, allocations: 2.938 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.006868, allocations: 4 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.006881, allocations: 7.984 kB / 0.5241 GB, free: 14.17 MB / 0.4948 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 0.0001179/0.006999, allocations: 160.5 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.007036, allocations: 7.953 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.007083, allocations: 8 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.007086, allocations: 3.938 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.007093, allocations: 3.031 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.007099, allocations: 4 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.007274, allocations: 124.6 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007278, allocations: 3.938 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.00734, allocations: 7.984 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.007344, allocations: 0 / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.007356, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007358, allocations: 0 / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.007361, allocations: 1.828 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.007571, allocations: 199.9 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.007592, allocations: 15.89 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.007608, allocations: 0.5 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.007684, allocations: 8.891 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.007764, allocations: 11.98 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.007771, allocations: 3.938 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.007835, allocations: 123.7 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.007835, allocations: 3.062 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002795/0.008115, allocations: 15.94 kB / 0.5248 GB, free: 13.41 MB / 0.4948 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.0001406/0.008255, allocations: 95.23 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.008411, allocations: 31.67 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008413, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.008465, allocations: 27.61 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.008784, allocations: 10.38 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.009165, allocations: 138.2 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.009214, allocations: 55.36 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.009251, allocations: 5.312 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.009304, allocations: 17.36 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.009304, allocations: 0 / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.003397/0.0127, allocations: 0.9608 MB / 0.5261 GB, free: 12.06 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8584669502452016]