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.001053/0.001053, allocations: 88.22 kB / 19.65 MB, free: 276 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.00117/0.00117, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.08/1.08, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8652/0.8652, allocations: 154.8 MB / 414.7 MB, free: 476 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.855e-06/2.855e-06, allocations: 0.875 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.507e-05, allocations: 8.281 kB / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001627/0.001662, allocations: 0.7675 MB / 0.5213 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002674, allocations: 0.9076 MB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.002726, allocations: 0 / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.002763, allocations: 5.406 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.002852, allocations: 7.922 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.003044, allocations: 39.89 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003155, allocations: 92.53 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003287, allocations: 19.98 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.003401, allocations: 48.8 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.003478, allocations: 39.88 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.003509, allocations: 9.656 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.003525, allocations: 8 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.003567, allocations: 19.97 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.003605, allocations: 23.92 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.003742, allocations: 75.66 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003745, allocations: 4.625 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.003746, allocations: 1.125 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.003752, allocations: 0 / 0.5226 GB, free: 15.89 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.0004952/0.004247, allocations: 400.4 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.004294, allocations: 9.375 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.004346, allocations: 16.89 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.004469, allocations: 120.5 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.004494, allocations: 5.156 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.004512, allocations: 8.375 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.004712, allocations: 95.25 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.004723, allocations: 3.938 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.004737, allocations: 0 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.004747, allocations: 6.5 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.00482, allocations: 27.97 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.005284, allocations: 327.5 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.005606, allocations: 79.64 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.005655, allocations: 25.09 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.005675, allocations: 0 / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005699, allocations: 37.39 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.005701, allocations: 0.9688 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002371/0.005938, allocations: 93.58 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.005971, allocations: 52.38 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.006064, allocations: 177.9 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.006079, allocations: 30.64 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.006135, allocations: 138.9 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.006162, allocations: 23.73 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.006206, allocations: 32.3 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.006333, allocations: 0.4922 MB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.006372, allocations: 8.719 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.006402, allocations: 12.86 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.006476, allocations: 45.03 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006478, allocations: 3.938 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001191/0.006597, allocations: 73.62 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006611, allocations: 4.625 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006616, allocations: 1.812 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.006633, allocations: 3.984 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.006721, allocations: 19.98 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.006727, allocations: 0 / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.006765, allocations: 4 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.006777, allocations: 13.64 kB / 0.5249 GB, free: 13.35 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.82e-05/0.006855, allocations: 156.5 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.006877, allocations: 11.89 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.006911, allocations: 18.06 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006913, allocations: 0 / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.006918, allocations: 0 / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.006922, allocations: 4 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.007046, allocations: 140.5 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.007047, allocations: 2.344 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.007108, allocations: 15.98 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.007111, allocations: 3.984 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.007122, allocations: 4 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.007123, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007124, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.007296, allocations: 234.5 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.00731, allocations: 15.83 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.007322, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.007376, allocations: 7.984 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.007466, allocations: 27.97 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.007471, allocations: 0 / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.007521, allocations: 147.3 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007521, allocations: 0 / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001498/0.007671, allocations: 12 kB / 0.5257 GB, free: 12.51 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 0.0001141/0.007785, allocations: 92.16 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.007945, allocations: 45.59 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007947, allocations: 0 / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.008007, allocations: 39.61 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.008266, allocations: 22.92 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.008639, allocations: 183.3 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.008679, allocations: 60.02 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.008718, allocations: 11.55 kB / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.008776, allocations: 23.62 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.008777, allocations: 0 / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.003399/0.01218, allocations: 1.698 MB / 0.5278 GB, free: 10.36 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: 4.013061348814517]