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.0007695/0.0007695, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007241/0.0007241, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8434/0.8434, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-531:190: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-531:198: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.6945/0.6945, allocations: 154.5 MB / 414.5 MB, free: 0.8281 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.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.785e-06/2.785e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.696e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001357/0.001384, allocations: 0.7407 MB / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.002246, allocations: 0.882 MB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.002293, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.002329, allocations: 7.875 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.002412, allocations: 15.92 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.002579, allocations: 35.91 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.00268, allocations: 87.73 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.002791, allocations: 16 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.002882, allocations: 59.88 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.002947, allocations: 39.88 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.002974, allocations: 8 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.002985, allocations: 11.94 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.003011, allocations: 19.92 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.003038, allocations: 23.97 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003159, allocations: 95.64 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003161, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003162, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.003166, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 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.0004478/0.003614, allocations: 322.1 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.003651, allocations: 13.47 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.003686, allocations: 8.891 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.003782, allocations: 113.7 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.0038, allocations: 12.31 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.003812, allocations: 4.375 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.004007, allocations: 106.2 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.004016, allocations: 3.938 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004028, allocations: 8 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.004032, allocations: 0 / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.004221, allocations: 95.89 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.004581, allocations: 276.3 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.00493, allocations: 122.5 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.005029, allocations: 52.81 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.005047, allocations: 4 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.005063, allocations: 34.56 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005064, allocations: 0 / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003773/0.005442, allocations: 189.4 kB / 0.6226 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.005471, allocations: 55.41 kB / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.005546, allocations: 120.6 kB / 0.6228 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.005559, allocations: 25.7 kB / 0.6228 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.005601, allocations: 104 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.005621, allocations: 15.8 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.005658, allocations: 25.7 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.005735, allocations: 322.8 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.005832, allocations: 47.95 kB / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.005917, allocations: 47.95 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.006092, allocations: 96.72 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006094, allocations: 0 / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002171/0.006311, allocations: 145.5 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006322, allocations: 4 kB / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006327, allocations: 0 / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.006341, allocations: 0 / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.006424, allocations: 23.97 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006428, allocations: 0.5469 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.006478, allocations: 11.98 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.00649, allocations: 15.98 kB / 0.6236 GB, free: 8.586 MB / 0.5886 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.004e-05/0.00656, allocations: 126.7 kB / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.006576, allocations: 3.953 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.006598, allocations: 16.42 kB / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.0066, allocations: 0 / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006605, allocations: 0 / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.006607, allocations: 0 / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.006717, allocations: 133.2 kB / 0.6239 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006719, allocations: 0 / 0.6239 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.006784, allocations: 27.97 kB / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006786, allocations: 4 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.006795, allocations: 3.984 kB / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006796, allocations: 0 / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006797, allocations: 0 / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.007041, allocations: 235.3 kB / 0.6241 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.007052, allocations: 11.89 kB / 0.6241 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.007066, allocations: 4 kB / 0.6241 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.007127, allocations: 15.98 kB / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.007184, allocations: 23.91 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.007189, allocations: 4 kB / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.007226, allocations: 99.2 kB / 0.6243 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007226, allocations: 0 / 0.6243 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001546/0.00738, allocations: 19.94 kB / 0.6243 GB, free: 7.812 MB / 0.5886 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 8.766e-05/0.007468, allocations: 95.23 kB / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.0077, allocations: 107.9 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007701, allocations: 0 / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.0078, allocations: 59.88 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.008031, allocations: 14.47 kB / 0.6246 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.008358, allocations: 195.2 kB / 0.6247 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.008412, allocations: 75.33 kB / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.008465, allocations: 20.48 kB / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.008466, allocations: 0 / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of Templates: time 0.001942/0.01041, allocations: 1.274 MB / 0.6261 GB, free: 5.934 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.881196616217494] Failed to read output from testmodel.py, exit status != 0: 0.015505406074225903 0.022844527 0.018139592 Calling exit ...