Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006908/0.0006908, allocations: 80.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.0007888/0.0007888, 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.9512/0.9512, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7395/0.7395, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.001033/0.001033, allocations: 67.89 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.605/0.6061, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001631/0.6077, allocations: 0.7466 MB / 0.7198 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.6085, allocations: 0.8863 MB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.6085, allocations: 1.219 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.6086, allocations: 9.141 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.6087, allocations: 14.17 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.6089, allocations: 40.88 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.609, allocations: 87.34 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.6091, allocations: 21.91 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.6092, allocations: 54.53 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.6093, allocations: 48.48 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.6093, allocations: 8.844 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.6093, allocations: 6.656 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.6094, allocations: 19.41 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.6094, allocations: 27.45 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.6095, allocations: 98.23 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6095, allocations: 1.469 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6096, allocations: 0 / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6096, allocations: 0 / 0.7211 GB, free: 22.32 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.0004648/0.61, allocations: 319.1 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6101, allocations: 9.062 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.6101, allocations: 8.875 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.087e-05/0.6102, allocations: 117.3 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.6102, allocations: 9.219 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.6102, allocations: 12.16 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.6104, allocations: 99.31 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6105, allocations: 5.797 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6105, allocations: 3.938 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6105, allocations: 1.875 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.6107, allocations: 96.47 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.6111, allocations: 270.8 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.6115, allocations: 120.4 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.6116, allocations: 52.92 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.6116, allocations: 5.062 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.6117, allocations: 37.61 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6117, allocations: 4 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004698/0.6121, allocations: 186.8 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.6122, allocations: 52.62 kB / 0.7225 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.6122, allocations: 119.1 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.6122, allocations: 26.52 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.6123, allocations: 97.75 kB / 0.7227 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.6123, allocations: 23.56 kB / 0.7227 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.6123, allocations: 23.97 kB / 0.7227 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.6124, allocations: 323.8 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.6125, allocations: 44.31 kB / 0.7231 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6126, allocations: 48.09 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.6128, allocations: 100.5 kB / 0.7232 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6128, allocations: 0 / 0.7232 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002474/0.6131, allocations: 138.1 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6131, allocations: 6.547 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6131, allocations: 0 / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6131, allocations: 5.172 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.6132, allocations: 27.55 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6132, allocations: 1 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.6133, allocations: 22.5 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.6133, allocations: 2.094 kB / 0.7234 GB, free: 20.6 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 5.899e-05/0.6133, allocations: 115.1 kB / 0.7235 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.6134, allocations: 7.328 kB / 0.7235 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.6134, allocations: 13.56 kB / 0.7236 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6134, allocations: 1.953 kB / 0.7236 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6134, allocations: 5.156 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6134, allocations: 3.938 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.6135, allocations: 141.2 kB / 0.7237 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6135, allocations: 0 / 0.7237 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.6136, allocations: 27.88 kB / 0.7237 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6136, allocations: 1.281 kB / 0.7237 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6136, allocations: 3.156 kB / 0.7237 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6136, allocations: 0 / 0.7237 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6136, allocations: 0 / 0.7237 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.6139, allocations: 240.5 kB / 0.724 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.6139, allocations: 10.33 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.6139, allocations: 1.609 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.614, allocations: 12.06 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.6141, allocations: 21.73 kB / 0.724 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.6141, allocations: 3.688 kB / 0.724 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.6141, allocations: 96.61 kB / 0.7241 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.6141, allocations: 0 / 0.7241 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001524/0.6142, allocations: 24.19 kB / 0.7241 GB, free: 20.04 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.929e-05/0.6143, allocations: 97.94 kB / 0.7242 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.6146, allocations: 106.6 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6146, allocations: 0 / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.6147, allocations: 62.86 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.615, allocations: 10.31 kB / 0.7244 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.6153, allocations: 174.3 kB / 0.7246 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.388e-05/0.6153, allocations: 80.53 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.992e-05/0.6154, allocations: 12.05 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.6154, allocations: 22.8 kB / 0.7247 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.6154, allocations: 1.031 kB / 0.7247 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.003794/0.6192, allocations: 1.706 MB / 0.7263 GB, free: 19.51 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.369934596936218] Failed to read output from testmodel.py, exit status != 0: 0.6253914319677278 0.634910774 0.023490822 Calling exit ...