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.001386/0.001386, allocations: 75.41 kB / 19.16 MB, free: 2.566 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.001688/0.001688, allocations: 166.7 kB / 22.44 MB, free: 5.309 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.395/1.395, allocations: 177.2 MB / 202.8 MB, free: 9.199 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.154/1.154, allocations: 155 MB / 414.2 MB, free: 4.938 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.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: 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.00204/0.00204, allocations: 71.28 kB / 0.6191 GB, free: 4.133 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5045, allocations: 102 MB / 0.7188 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001859/0.5063, allocations: 0.7488 MB / 0.7195 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.5074, allocations: 0.8845 MB / 0.7203 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.5075, allocations: 5.219 kB / 0.7204 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.5075, allocations: 9.281 kB / 0.7204 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.5076, allocations: 10.33 kB / 0.7204 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.5078, allocations: 42.36 kB / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.508, allocations: 81.28 kB / 0.7205 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.5081, allocations: 23.7 kB / 0.7205 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.5082, allocations: 54.09 kB / 0.7206 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.5083, allocations: 44.56 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.5084, allocations: 11.88 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.859e-05/0.5084, allocations: 7.375 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.5084, allocations: 19.33 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.5085, allocations: 35.12 kB / 0.7207 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.5087, allocations: 99.72 kB / 0.7208 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5087, allocations: 0 / 0.7208 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5087, allocations: 0 / 0.7208 GB, free: 412 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5087, allocations: 1.219 kB / 0.7208 GB, free: 412 kB / 0.6075 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.0006336/0.5093, allocations: 322 kB / 0.7211 GB, free: 112 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.5093, allocations: 15.84 kB / 0.7211 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.5094, allocations: 8.516 kB / 0.7211 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5095, allocations: 122 kB / 0.7212 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5096, allocations: 7.156 kB / 0.7212 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.5096, allocations: 7.891 kB / 0.7212 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.5099, allocations: 101.1 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.51, allocations: 3.938 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.51, allocations: 5.312 kB / 0.7213 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.51, allocations: 1.922 kB / 0.7213 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.5104, allocations: 96.97 kB / 0.7214 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.5109, allocations: 267.5 kB / 0.7217 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.5116, allocations: 118.8 kB / 0.7218 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.5118, allocations: 57.47 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.5118, allocations: 5.5 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.5118, allocations: 32.62 kB / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5118, allocations: 0 / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0007017/0.5125, allocations: 189.4 kB / 0.7221 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.5126, allocations: 57.42 kB / 0.7221 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.5127, allocations: 120.2 kB / 0.7222 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5127, allocations: 25.7 kB / 0.7223 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.5128, allocations: 101.8 kB / 0.7224 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.5128, allocations: 17.22 kB / 0.7224 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.5129, allocations: 22.34 kB / 0.7224 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.513, allocations: 324 kB / 0.7227 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.5132, allocations: 44.09 kB / 0.7228 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.5134, allocations: 48.22 kB / 0.7228 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.5138, allocations: 96.73 kB / 0.7229 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5138, allocations: 3.938 kB / 0.7229 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004652/0.5143, allocations: 150.1 kB / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5143, allocations: 5.781 kB / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5143, allocations: 1.062 kB / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5143, allocations: 0 / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.5145, allocations: 24.75 kB / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5145, allocations: 0 / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5146, allocations: 21.08 kB / 0.7231 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5146, allocations: 7.812 kB / 0.7231 GB, free: 14.68 MB / 0.6231 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 0.0001015/0.5147, allocations: 115 kB / 0.7232 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.5148, allocations: 10.14 kB / 0.7232 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.5148, allocations: 11.75 kB / 0.7232 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5148, allocations: 1.812 kB / 0.7232 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5148, allocations: 0 / 0.7232 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5148, allocations: 6.328 kB / 0.7232 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.515, allocations: 131.6 kB / 0.7234 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.515, allocations: 1.062 kB / 0.7234 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.5152, allocations: 28.19 kB / 0.7234 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5152, allocations: 0 / 0.7234 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5152, allocations: 6.312 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5152, allocations: 1 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5152, allocations: 3.984 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.5157, allocations: 235.5 kB / 0.7236 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.5157, allocations: 8.297 kB / 0.7236 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5157, allocations: 1.969 kB / 0.7236 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5159, allocations: 11.11 kB / 0.7236 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.5159, allocations: 25.53 kB / 0.7237 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.516, allocations: 3.844 kB / 0.7237 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.02e-05/0.516, allocations: 97.19 kB / 0.7238 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.516, allocations: 1.219 kB / 0.7238 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002343/0.5163, allocations: 15.84 kB / 0.7238 GB, free: 14.13 MB / 0.6231 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.000118/0.5164, allocations: 101.3 kB / 0.7239 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004778/0.5169, allocations: 109.5 kB / 0.724 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5169, allocations: 5.094 kB / 0.724 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.5171, allocations: 59.47 kB / 0.724 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.5174, allocations: 11.95 kB / 0.7241 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.5179, allocations: 175.6 kB / 0.7242 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.484e-05/0.518, allocations: 85.42 kB / 0.7243 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.5181, allocations: 8.031 kB / 0.7243 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.5181, allocations: 26.11 kB / 0.7243 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.5181, allocations: 0 / 0.7243 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.00478/0.5229, allocations: 1.71 MB / 0.726 GB, free: 13.59 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.085292298346758] Failed to read output from testmodel.py, exit status != 0: 0.5314879789948463 0.545513559 0.033921825 Calling exit ...