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.001108/0.001108, allocations: 76.45 kB / 19.91 MB, free: 12 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.001078/0.001078, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8251/0.8251, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.6797/0.6797, allocations: 155 MB / 415 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009975/0.0009975, allocations: 67.89 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3867, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001318/0.388, allocations: 0.7467 MB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.3887, allocations: 0.8831 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3888, allocations: 1.031 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.3888, allocations: 8.859 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.3889, allocations: 14.89 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.389, allocations: 42.52 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.355e-05/0.3891, allocations: 86.12 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3892, allocations: 18.36 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.3893, allocations: 62.19 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.3894, allocations: 40.22 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3894, allocations: 9.094 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3894, allocations: 7.5 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.3894, allocations: 26.86 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.3895, allocations: 27.14 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3896, allocations: 103.3 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3896, allocations: 0 / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3896, allocations: 0 / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3896, allocations: 1.188 kB / 0.7215 GB, free: 22.09 MB / 0.6355 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.0004084/0.39, allocations: 322.1 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3901, allocations: 11.28 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3901, allocations: 13.3 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.3902, allocations: 125.1 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3902, allocations: 3.375 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3902, allocations: 13.05 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3904, allocations: 108.6 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3904, allocations: 3.938 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3904, allocations: 8 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3904, allocations: 2.188 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.3906, allocations: 97.45 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.391, allocations: 262.5 kB / 0.7224 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.3913, allocations: 119.9 kB / 0.7225 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3914, allocations: 56.88 kB / 0.7226 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3915, allocations: 1.062 kB / 0.7226 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.3915, allocations: 37.7 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3915, allocations: 0 / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003997/0.3919, allocations: 189.4 kB / 0.7228 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.3919, allocations: 52.56 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.392, allocations: 121 kB / 0.723 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.392, allocations: 29.7 kB / 0.723 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.392, allocations: 98 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.392, allocations: 20.42 kB / 0.7231 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.392, allocations: 22.81 kB / 0.7231 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3e-05/0.3921, allocations: 323.5 kB / 0.7235 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.3922, allocations: 47.5 kB / 0.7235 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.3923, allocations: 45.62 kB / 0.7235 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3925, allocations: 96.52 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3925, allocations: 0 / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002232/0.3927, allocations: 141.9 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3927, allocations: 8.688 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3927, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3927, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.3928, allocations: 29 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3928, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.3929, allocations: 20.91 kB / 0.7238 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.3929, allocations: 7.812 kB / 0.7238 GB, free: 20.36 MB / 0.6355 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 4.734e-05/0.3929, allocations: 114.5 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3929, allocations: 7.938 kB / 0.7239 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.393, allocations: 10.78 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.393, allocations: 1.25 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.393, allocations: 0 / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.393, allocations: 6.156 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.722e-05/0.3931, allocations: 132.4 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3931, allocations: 9.562 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.3931, allocations: 23.05 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3931, allocations: 5.062 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3931, allocations: 6.078 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3931, allocations: 0 / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3932, allocations: 1.344 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.3934, allocations: 239.8 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.3934, allocations: 7.656 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3934, allocations: 5.188 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.3935, allocations: 19.31 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.3936, allocations: 21.97 kB / 0.7244 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3936, allocations: 3.016 kB / 0.7244 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.3936, allocations: 97.84 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3936, allocations: 0 / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001517/0.3937, allocations: 15.89 kB / 0.7245 GB, free: 19.8 MB / 0.6355 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.136e-05/0.3938, allocations: 97.73 kB / 0.7246 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3941, allocations: 102.6 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3941, allocations: 0 / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3942, allocations: 61.27 kB / 0.7248 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3944, allocations: 5.266 kB / 0.7248 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.3947, allocations: 199.6 kB / 0.725 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.3948, allocations: 85.41 kB / 0.7251 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.3948, allocations: 22.84 kB / 0.7251 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.3948, allocations: 0 / 0.7251 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.002295/0.3971, allocations: 1.269 MB / 0.7263 GB, free: 19.32 MB / 0.6355 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: 5.235217544948682] Failed to read output from testmodel.py, exit status != 0: 0.4035813349764794 0.413251962 0.021987355 Calling exit ...