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.0009511/0.0009511, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001373/0.001373, allocations: 169 kB / 23.27 MB, free: 1.223 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.917/0.917, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7202/0.7202, allocations: 154.9 MB / 415.1 MB, free: 248 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.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: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.827e-05, allocations: 6.312 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001934/0.001962, allocations: 0.7506 MB / 0.5219 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003128, allocations: 0.9028 MB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.003182, allocations: 4 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.003217, allocations: 12.36 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.305e-05/0.00331, allocations: 8.625 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.003484, allocations: 45.09 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003597, allocations: 87.75 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003704, allocations: 15.98 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.003824, allocations: 52.5 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.003907, allocations: 39.88 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.003932, allocations: 9.781 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.003948, allocations: 8 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.003975, allocations: 23.91 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.004009, allocations: 15.98 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.004131, allocations: 71.7 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004133, allocations: 5.656 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004134, allocations: 4 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004139, allocations: 3.938 kB / 0.5231 GB, free: 15.49 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.0005189/0.004658, allocations: 401.8 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.004701, allocations: 12.03 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.004891, allocations: 8.891 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.004999, allocations: 124.5 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.005021, allocations: 9.125 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.005033, allocations: 384 / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.005233, allocations: 95.48 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.005243, allocations: 3.938 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005253, allocations: 4 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005259, allocations: 1.344 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.005321, allocations: 23.92 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.005726, allocations: 300.8 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.006044, allocations: 78.42 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.006088, allocations: 23.67 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.006106, allocations: 0 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.00613, allocations: 41.39 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.006132, allocations: 0 / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002235/0.006355, allocations: 85.55 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.006383, allocations: 51.97 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.00648, allocations: 185.9 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006493, allocations: 25.7 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.006551, allocations: 139.7 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.006575, allocations: 23.73 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.006626, allocations: 36.81 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.006764, allocations: 496.1 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.006797, allocations: 8 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.006826, allocations: 12.92 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.006895, allocations: 31.61 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006897, allocations: 1.156 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001289/0.007025, allocations: 78.03 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.00704, allocations: 5.406 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007045, allocations: 0 / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.007059, allocations: 4 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.007172, allocations: 19.97 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007176, allocations: 6.75 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.007226, allocations: 4 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.007236, allocations: 7.984 kB / 0.5254 GB, free: 13.01 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,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 8.501e-05/0.007321, allocations: 164.5 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.007353, allocations: 7.953 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.007381, allocations: 12.44 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007384, allocations: 2.75 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007385, allocations: 0 / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007388, allocations: 0 / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.007543, allocations: 117.2 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.007546, allocations: 3.984 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.007635, allocations: 27.86 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007637, allocations: 0 / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.007652, allocations: 4.969 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.007664, allocations: 0 / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007665, allocations: 0 / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.007875, allocations: 212.8 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.007894, allocations: 19.81 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.007905, allocations: 0.9375 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.008023, allocations: 7.984 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.00808, allocations: 28.59 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.008086, allocations: 1.375 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.008131, allocations: 135.1 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008131, allocations: 0 / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001445/0.008275, allocations: 16 kB / 0.5261 GB, free: 12.21 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 (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.0001044/0.008379, allocations: 105.6 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.008477, allocations: 35.66 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008478, allocations: 0 / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.008521, allocations: 43.59 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.00871, allocations: 14.88 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.009007, allocations: 182.6 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.00904, allocations: 59.34 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.00908, allocations: 13.84 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.009159, allocations: 86.19 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.009159, allocations: 0 / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.002924/0.01208, allocations: 1.825 MB / 0.5284 GB, free: 9.898 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.50851237680763]