Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001429/0.001429, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001659/0.001659, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198: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 1.19/1.19, allocations: 154.6 MB / 413.7 MB, free: 5.273 MB / 382.1 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 178] 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.862e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001813/0.001841, allocations: 0.6779 MB / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003048, allocations: 0.8354 MB / 0.6201 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.00309, allocations: 0 / 0.6201 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.003123, allocations: 3.938 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.0032, allocations: 7.938 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.742e-05/0.003267, allocations: 11.92 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.003374, allocations: 43.91 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.00348, allocations: 4 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.003589, allocations: 35.89 kB / 0.6202 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.00363, allocations: 11.98 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.003652, allocations: 8 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.003664, allocations: 4 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.003689, allocations: 19.86 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.003715, allocations: 4 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003819, allocations: 39.86 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.003825, allocations: 8 kB / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003825, allocations: 0 / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.00383, allocations: 0 / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005547/0.004384, allocations: 290.2 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.004424, allocations: 13.47 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.004462, allocations: 8.891 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.004574, allocations: 109.7 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.004587, allocations: 4.375 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004597, allocations: 4.375 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.004855, allocations: 70.2 kB / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004864, allocations: 192 / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.004875, allocations: 4.375 kB / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.00488, allocations: 384 / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.005179, allocations: 75.84 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.005523, allocations: 208.5 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.00573, allocations: 50.55 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.00589, allocations: 44.91 kB / 0.6211 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.005903, allocations: 4 kB / 0.6211 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.005952, allocations: 30.56 kB / 0.6211 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005953, allocations: 0 / 0.6211 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005325/0.006485, allocations: 133.5 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.006535, allocations: 55.41 kB / 0.6213 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.00664, allocations: 113.8 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.00666, allocations: 25.7 kB / 0.6214 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.006713, allocations: 88.14 kB / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.006737, allocations: 11.84 kB / 0.6215 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.006785, allocations: 21.7 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.006935, allocations: 310.8 kB / 0.6219 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.007081, allocations: 27.97 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.007217, allocations: 39.89 kB / 0.6219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.007491, allocations: 68.78 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007493, allocations: 4 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003248/0.007817, allocations: 93.56 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007832, allocations: 15.94 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.007835, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.007849, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.007976, allocations: 15.98 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.007982, allocations: 0 / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.00806, allocations: 11.98 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.008068, allocations: 7.938 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001311/0.008199, allocations: 110.8 kB / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.008226, allocations: 7.953 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.008257, allocations: 15.94 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008258, allocations: 0 / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.008263, allocations: 0 / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008266, allocations: 0 / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.008405, allocations: 109.3 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.008406, allocations: 0 / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/0.008503, allocations: 19.98 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008504, allocations: 0 / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.008516, allocations: 3.984 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.00852, allocations: 7.875 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008521, allocations: 4 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.008916, allocations: 195.8 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.008925, allocations: 4.031 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.008938, allocations: 0 / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.009045, allocations: 19.91 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.009085, allocations: 4 kB / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.009091, allocations: 4 kB / 0.6226 GB, free: 212 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.009142, allocations: 87.27 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.009142, allocations: 4 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002159/0.009358, allocations: 4 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001117/0.00947, allocations: 95.25 kB / 0.6228 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.00983, allocations: 71.86 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009832, allocations: 4 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.009982, allocations: 39.89 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01028, allocations: 14 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.01059, allocations: 120.7 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.01067, allocations: 63.34 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.0107, allocations: 11.98 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.01073, allocations: 8.5 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.01073, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of Templates: time 0.003478/0.01421, allocations: 0.7268 MB / 0.6238 GB, free: 14.93 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.762823522090912] Failed to read output from testmodel.py, exit status != 0: 0.02293539047241211 0.037327332000000005 0.030530164000000002 Calling exit ...