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.0009311/0.0009311, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001121/0.001121, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9881/0.9881, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8161/0.8161, allocations: 154.9 MB / 415.9 MB, free: 244 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 1.623e-06/1.623e-06, allocations: 0 / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.72e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001772/0.001799, allocations: 0.7588 MB / 0.5226 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.002708, allocations: 0.9053 MB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.002765, allocations: 0.7812 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.002802, allocations: 7.875 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.002909, allocations: 20.66 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.003076, allocations: 28.66 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.003192, allocations: 91.8 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003313, allocations: 16.84 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.003413, allocations: 51.88 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.003483, allocations: 42.11 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.003508, allocations: 11.94 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.003521, allocations: 8 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.003547, allocations: 23.91 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.003574, allocations: 19.92 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003691, allocations: 75.7 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003694, allocations: 1.031 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003695, allocations: 0 / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003699, allocations: 0 / 0.5239 GB, free: 15.47 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.0004133/0.004112, allocations: 405.8 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.004145, allocations: 8.031 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.004182, allocations: 12.89 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.004271, allocations: 125.2 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.004291, allocations: 8.375 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.004301, allocations: 5.188 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.004455, allocations: 83.91 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004463, allocations: 3.938 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004473, allocations: 4.594 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.004478, allocations: 0 / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.004526, allocations: 28.91 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.004855, allocations: 296.7 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.005105, allocations: 76.31 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.005139, allocations: 28.48 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.005154, allocations: 0 / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.005175, allocations: 38.45 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005176, allocations: 0 / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001817/0.005358, allocations: 75.38 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.005388, allocations: 51.41 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.005473, allocations: 192.9 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.005484, allocations: 29.64 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.005532, allocations: 140.6 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.005554, allocations: 19.78 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.005592, allocations: 39.28 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.005701, allocations: 496.1 kB / 0.526 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.005728, allocations: 12.73 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.00575, allocations: 8 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.005802, allocations: 33.02 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005804, allocations: 4 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.005909, allocations: 66.66 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.005923, allocations: 4 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.005928, allocations: 0 / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.005939, allocations: 5.156 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.006028, allocations: 23.92 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.006032, allocations: 0.5469 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.006071, allocations: 11.2 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.006079, allocations: 4 kB / 0.5261 GB, free: 13 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 8.409e-05/0.006163, allocations: 168.5 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.006187, allocations: 11.95 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.006216, allocations: 12.44 kB / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006218, allocations: 0 / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.00622, allocations: 3.984 kB / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006223, allocations: 0 / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.006341, allocations: 116.3 kB / 0.5264 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006343, allocations: 0 / 0.5264 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.006405, allocations: 23.92 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006406, allocations: 0 / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006414, allocations: 3.984 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006414, allocations: 0 / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006416, allocations: 0 / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.006583, allocations: 229.3 kB / 0.5267 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.006599, allocations: 15.83 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.00661, allocations: 3.938 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.006661, allocations: 7.984 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.006724, allocations: 29.38 kB / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.006729, allocations: 0 / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.006777, allocations: 131.2 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006777, allocations: 1.281 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001562/0.006934, allocations: 12 kB / 0.5269 GB, free: 12.2 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 9.261e-05/0.007026, allocations: 99.91 kB / 0.527 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.007126, allocations: 44.2 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007127, allocations: 0 / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.007171, allocations: 36.17 kB / 0.5271 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.007367, allocations: 17.17 kB / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.007655, allocations: 174.5 kB / 0.5272 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.007691, allocations: 67.36 kB / 0.5273 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.007734, allocations: 15.86 kB / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.007816, allocations: 86.19 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.007816, allocations: 0 / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.00354/0.01136, allocations: 1.87 MB / 0.5292 GB, free: 9.828 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: 3.7949565360322595]