Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.0009108/0.0009108, 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.0008836/0.0008836, allocations: 169.7 kB / 23.28 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.8794/0.8794, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7399/0.7399, allocations: 154.9 MB / 415.1 MB, free: 260 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.728e-05, allocations: 4.141 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.002034/0.002061, allocations: 0.7479 MB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003244, allocations: 0.9152 MB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.0033, allocations: 0 / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.003335, allocations: 7.922 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.003432, allocations: 11.88 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.003615, allocations: 45.59 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.00373, allocations: 75.83 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003844, allocations: 23.97 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.003966, allocations: 47.91 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.004047, allocations: 41.44 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.004074, allocations: 8 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.00409, allocations: 8 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.004117, allocations: 19.92 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.004156, allocations: 27.91 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004286, allocations: 72.41 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004288, allocations: 0 / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004289, allocations: 1.469 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004293, allocations: 0 / 0.5231 GB, free: 15.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004701/0.004763, allocations: 404.4 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.004802, allocations: 9.375 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.004848, allocations: 12.89 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004948, allocations: 124.5 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.004971, allocations: 9.281 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.004984, allocations: 4.375 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.005189, allocations: 97.83 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005198, allocations: 3.938 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005209, allocations: 0 / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005214, allocations: 0 / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.005277, allocations: 19.98 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.005697, allocations: 300.2 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.006018, allocations: 76.22 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.006064, allocations: 24.44 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.006089, allocations: 4.562 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.006114, allocations: 37.39 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.006115, allocations: 1.469 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001657/0.006281, allocations: 81.56 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.006309, allocations: 59.39 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.006383, allocations: 186.3 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.006395, allocations: 25.7 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.006442, allocations: 140.3 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.006466, allocations: 27.78 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.006502, allocations: 23.36 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.006618, allocations: 0.4923 MB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.006639, allocations: 5.156 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.00666, allocations: 11.98 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.006712, allocations: 36.39 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006714, allocations: 0 / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.103e-05/0.006805, allocations: 74.84 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.006818, allocations: 8 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.006822, allocations: 1.344 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.006833, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.006911, allocations: 19.97 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006913, allocations: 0.5469 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.006949, allocations: 10.91 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006955, allocations: 0 / 0.5254 GB, free: 13 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.411e-05/0.007029, allocations: 164.5 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.007049, allocations: 11.94 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.007071, allocations: 8.438 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.007072, allocations: 0 / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.007075, allocations: 6.734 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.007077, allocations: 0 / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.007181, allocations: 117.2 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007184, allocations: 7.922 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.007233, allocations: 19.92 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007234, allocations: 0 / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.00724, allocations: 4 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.007241, allocations: 4 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007242, allocations: 0.625 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.007375, allocations: 221.1 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.007385, allocations: 15.77 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.007395, allocations: 4 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.007445, allocations: 12.64 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.007495, allocations: 20.47 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.007501, allocations: 4 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.007538, allocations: 140.1 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007538, allocations: 0 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001433/0.007681, allocations: 17.72 kB / 0.5261 GB, free: 12.19 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 7.947e-05/0.007761, allocations: 99.23 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.007848, allocations: 38.11 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007849, allocations: 0 / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.007893, allocations: 39.59 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.008075, allocations: 12 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.008341, allocations: 185.1 kB / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.008374, allocations: 59.34 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.008414, allocations: 9.969 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.008495, allocations: 87.75 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.008495, allocations: 0 / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.00335/0.01185, allocations: 1.838 MB / 0.5284 GB, free: 9.875 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.324595134705305]