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.0009983/0.0009983, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001089/0.001089, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.8907/0.8907, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.7925/0.7925, allocations: 154.9 MB / 415.1 MB, free: 280 kB / 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.345e-06/2.345e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.46e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00144/0.001465, allocations: 0.6976 MB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.002286, allocations: 0.8765 MB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.002324, allocations: 0 / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.002351, allocations: 7.922 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.002429, allocations: 8.719 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.002558, allocations: 19.97 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.002623, allocations: 49.28 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.002709, allocations: 12 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.002785, allocations: 27.95 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.00283, allocations: 15.92 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.002848, allocations: 10.47 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.002857, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.002874, allocations: 7.984 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.002896, allocations: 15.98 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.303e-05/0.002979, allocations: 39.77 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002982, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002983, allocations: 0.5 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002987, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 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.0003174/0.003304, allocations: 374 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.003344, allocations: 12.03 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.003372, allocations: 8.891 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.405e-05/0.003446, allocations: 113.5 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.003463, allocations: 4.375 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.00347, allocations: 384 / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.003582, allocations: 71.89 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00359, allocations: 3.938 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003596, allocations: 1 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.0036, allocations: 3.938 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.003627, allocations: 12.7 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.003876, allocations: 264.9 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.003947, allocations: 44.27 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.003968, allocations: 19.59 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.003982, allocations: 0 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.004002, allocations: 46.05 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.004004, allocations: 0 / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001309/0.004135, allocations: 51.62 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.004165, allocations: 51.41 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.004247, allocations: 173.9 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004259, allocations: 29.7 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.004308, allocations: 132.5 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.004331, allocations: 7.938 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.004366, allocations: 23.38 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.004486, allocations: 0.4961 MB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.004505, allocations: 9.375 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.004521, allocations: 4 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.00456, allocations: 19.67 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004562, allocations: 0.5312 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.747e-05/0.004639, allocations: 58.33 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004651, allocations: 4 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004655, allocations: 1.469 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.004664, allocations: 0 / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.004734, allocations: 15.92 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.004736, allocations: 0 / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.004761, allocations: 5.594 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.004765, allocations: 0 / 0.5249 GB, free: 13.51 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 6.577e-05/0.004831, allocations: 160.6 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.004847, allocations: 11.89 kB / 0.525 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.004869, allocations: 10.38 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00487, allocations: 4 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.004871, allocations: 0 / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.004874, allocations: 0 / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.435e-05/0.004969, allocations: 109.2 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00497, allocations: 3.938 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.004998, allocations: 10.73 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.005, allocations: 4 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.005006, allocations: 7.938 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005007, allocations: 0 / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005008, allocations: 320 / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.005113, allocations: 191.9 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.005122, allocations: 7.953 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.005133, allocations: 13.2 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.005171, allocations: 4 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.005209, allocations: 7.984 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.005213, allocations: 4.938 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.005255, allocations: 131.2 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005255, allocations: 0 / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001357/0.00539, allocations: 8.938 kB / 0.5255 GB, free: 12.79 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 8.318e-05/0.005474, allocations: 95.19 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.041e-05/0.005544, allocations: 27.91 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005545, allocations: 5.844 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.005572, allocations: 27.75 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.005745, allocations: 10.94 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.005976, allocations: 134.8 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.006006, allocations: 56.02 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.006035, allocations: 9.703 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.00609, allocations: 74.2 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.006091, allocations: 2.5 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002314/0.008405, allocations: 1.031 MB / 0.527 GB, free: 11.31 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.394740501884371]