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.0009754/0.0009754, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001175/0.001175, allocations: 173 kB / 23.5 MB, free: 1.059 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.9688/0.9688, allocations: 177.1 MB / 203.8 MB, free: 5.633 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-535:34: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-535:42: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.8187/0.8187, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.5206 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.174e-05, allocations: 2.859 kB / 0.5206 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001498/0.00152, allocations: 0.7036 MB / 0.5213 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.002367, allocations: 0.8828 MB / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.002408, allocations: 0 / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002436, allocations: 3.938 kB / 0.5221 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.002516, allocations: 8.828 kB / 0.5221 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.002667, allocations: 23.97 kB / 0.5222 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.144e-05/0.002749, allocations: 48.47 kB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.002853, allocations: 4 kB / 0.5222 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.002934, allocations: 25.64 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.002989, allocations: 27.89 kB / 0.5223 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.003013, allocations: 4 kB / 0.5223 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.003024, allocations: 4 kB / 0.5223 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.003043, allocations: 13.2 kB / 0.5223 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.003067, allocations: 8 kB / 0.5223 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.003166, allocations: 43.75 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003168, allocations: 0 / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003169, allocations: 0.7812 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.003174, allocations: 4 kB / 0.5223 GB, free: 0.5117 MB / 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.0006673/0.003841, allocations: 369.8 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.003909, allocations: 8.031 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.003984, allocations: 12.89 kB / 0.5227 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.004177, allocations: 113.3 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.004218, allocations: 1 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.004235, allocations: 4.375 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.004442, allocations: 71.97 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.004453, allocations: 3.938 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.004467, allocations: 8.688 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.004476, allocations: 0 / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.004524, allocations: 16.67 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.004954, allocations: 282.9 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.005061, allocations: 50.98 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.005094, allocations: 15.7 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.005109, allocations: 3.984 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.005134, allocations: 37.39 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.005135, allocations: 0 / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.000187/0.005322, allocations: 57.69 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.005354, allocations: 52.25 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.005438, allocations: 169.9 kB / 0.5236 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005449, allocations: 25.7 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.005501, allocations: 139.4 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.005522, allocations: 4.891 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.005557, allocations: 23.38 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.005671, allocations: 0.4884 MB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.005696, allocations: 9.531 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.005715, allocations: 8 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.00576, allocations: 23.67 kB / 0.5243 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.005763, allocations: 4.906 kB / 0.5243 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.193e-05/0.005845, allocations: 53.97 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.005861, allocations: 10 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005866, allocations: 320 / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.00588, allocations: 0 / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.005974, allocations: 11.92 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.00598, allocations: 0 / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.006006, allocations: 4.75 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.006016, allocations: 19.95 kB / 0.5244 GB, free: 14.25 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 8.234e-05/0.006098, allocations: 157.2 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.006118, allocations: 11.95 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.006152, allocations: 4.594 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.006155, allocations: 0.6875 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.006161, allocations: 0 / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.006166, allocations: 5.438 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.006292, allocations: 132.6 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.006296, allocations: 7.875 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.006339, allocations: 7.984 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006341, allocations: 0.7812 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.006351, allocations: 4 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006352, allocations: 1.594 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006354, allocations: 0 / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.006526, allocations: 199.9 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.006542, allocations: 11.89 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.006556, allocations: 2.75 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.006604, allocations: 8 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.006674, allocations: 15.97 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.006679, allocations: 0 / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.006726, allocations: 123.2 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006726, allocations: 0 / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001463/0.006872, allocations: 8 kB / 0.525 GB, free: 13.5 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.0001234/0.006996, allocations: 101.3 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.007103, allocations: 27.67 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.007105, allocations: 0 / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.007139, allocations: 28.56 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.007357, allocations: 17.25 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.007664, allocations: 130.9 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.007702, allocations: 60.38 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.00773, allocations: 5.219 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.007769, allocations: 17.14 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.00777, allocations: 3.281 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.002781/0.01055, allocations: 0.9639 MB / 0.5263 GB, free: 12.14 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8420622481498867]