Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.000742/0.000742, allocations: 76.45 kB / 19.9 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.0007618/0.0007618, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9167/0.9167, allocations: 177.2 MB / 203.6 MB, free: 5.758 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7045/0.7045, allocations: 154.9 MB / 414.9 MB, free: 0.4961 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [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.0008869/0.0008869, allocations: 76.05 kB / 0.6199 GB, free: 12.78 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.4851/0.486, allocations: 102 MB / 0.7194 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001816/0.4878, allocations: 0.7358 MB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.4887, allocations: 0.89 MB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.4888, allocations: 1.188 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.4888, allocations: 8.859 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.4889, allocations: 10.38 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.4891, allocations: 41.22 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.4892, allocations: 85.91 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4893, allocations: 26.83 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.4894, allocations: 54.59 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.4895, allocations: 44.84 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.4895, allocations: 8.438 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.4895, allocations: 7.531 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.4896, allocations: 22.36 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.4896, allocations: 31.06 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.4897, allocations: 91.97 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4897, allocations: 0 / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4897, allocations: 0 / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4897, allocations: 0 / 0.7214 GB, free: 22.16 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.0004502/0.4902, allocations: 324.1 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4902, allocations: 10.73 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.4903, allocations: 13.3 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/0.4904, allocations: 120.6 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4904, allocations: 7.906 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.4904, allocations: 7.906 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.4906, allocations: 104.5 kB / 0.722 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.4906, allocations: 3.938 kB / 0.722 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4906, allocations: 5.469 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4906, allocations: 5.438 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.4909, allocations: 93.16 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.4912, allocations: 270.8 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.4917, allocations: 119.8 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.4918, allocations: 61.47 kB / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4918, allocations: 1.312 kB / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.4918, allocations: 32.38 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4918, allocations: 1.031 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004568/0.4923, allocations: 189.8 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.4923, allocations: 52.69 kB / 0.7228 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.4924, allocations: 123.8 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4924, allocations: 26.41 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.4924, allocations: 102.5 kB / 0.723 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.4925, allocations: 15.09 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.4925, allocations: 27.55 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.4925, allocations: 319.3 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4926, allocations: 44.67 kB / 0.7234 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4927, allocations: 51.59 kB / 0.7235 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.4929, allocations: 96.77 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.493, allocations: 1.188 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000257/0.4932, allocations: 145.4 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4932, allocations: 7.016 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4932, allocations: 0 / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4932, allocations: 0 / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4933, allocations: 24.2 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4934, allocations: 1.625 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.4934, allocations: 20.16 kB / 0.7238 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4934, allocations: 3.359 kB / 0.7238 GB, free: 20.44 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,sub.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 5.303e-05/0.4935, allocations: 119.6 kB / 0.7239 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.4935, allocations: 6.703 kB / 0.7239 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.4935, allocations: 11.56 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4935, allocations: 1.219 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4935, allocations: 0.9844 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.4935, allocations: 3.938 kB / 0.7239 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.4936, allocations: 133.5 kB / 0.724 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4936, allocations: 3.938 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.4937, allocations: 28.88 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4937, allocations: 4 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4937, allocations: 2.797 kB / 0.7241 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.4937, allocations: 3.938 kB / 0.7241 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4937, allocations: 1.094 kB / 0.7241 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.494, allocations: 240.5 kB / 0.7243 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.494, allocations: 7.281 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4941, allocations: 1.594 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.4941, allocations: 14.78 kB / 0.7243 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.4942, allocations: 25.14 kB / 0.7244 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.4942, allocations: 4.234 kB / 0.7244 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.4943, allocations: 97.45 kB / 0.7245 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4943, allocations: 0 / 0.7245 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001752/0.4944, allocations: 15.88 kB / 0.7245 GB, free: 19.88 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 (sub.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 0.0001132/0.4946, allocations: 97.83 kB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.4949, allocations: 106.6 kB / 0.7247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4949, allocations: 0 / 0.7247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.495, allocations: 63.58 kB / 0.7247 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.4953, allocations: 5.25 kB / 0.7247 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.4957, allocations: 175.2 kB / 0.7249 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.4958, allocations: 85.25 kB / 0.725 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.804e-05/0.4959, allocations: 11.95 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.4959, allocations: 22.09 kB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/0.4959, allocations: 0 / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.00389/0.4998, allocations: 1.715 MB / 0.7267 GB, free: 19.36 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2245540510630235] Failed to read output from testmodel.py, exit status != 0: 0.5055704530095682 0.515485358 0.023876227 Calling exit ...