Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.00134/0.00134, allocations: 75.02 kB / 19.16 MB, free: 2.57 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.001412/0.001412, allocations: 172.1 kB / 22.44 MB, free: 5.316 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.412/1.412, allocations: 177.2 MB / 202.8 MB, free: 9.195 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.158/1.158, 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [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.002076/0.002076, allocations: 70.67 kB / 0.6191 GB, free: 4.148 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.4811/0.4832, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001746/0.485, allocations: 0.756 MB / 0.7195 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008188/0.4858, allocations: 0.8827 MB / 0.7203 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.4858, allocations: 1.156 kB / 0.7203 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.4858, allocations: 5.156 kB / 0.7203 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.4859, allocations: 14.59 kB / 0.7204 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.4861, allocations: 45.48 kB / 0.7204 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.4862, allocations: 91.03 kB / 0.7205 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.4863, allocations: 14.03 kB / 0.7205 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.4864, allocations: 50.38 kB / 0.7205 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.4864, allocations: 49.06 kB / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4865, allocations: 8.375 kB / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.4865, allocations: 7.125 kB / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.4865, allocations: 22.7 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.4865, allocations: 32.08 kB / 0.7207 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.4867, allocations: 99.45 kB / 0.7208 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4867, allocations: 4 kB / 0.7208 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4867, allocations: 4 kB / 0.7208 GB, free: 420 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4867, allocations: 1.219 kB / 0.7208 GB, free: 420 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.0005174/0.4872, allocations: 314.5 kB / 0.7211 GB, free: 128 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.4872, allocations: 9.781 kB / 0.7211 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.4873, allocations: 9.578 kB / 0.7211 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.4874, allocations: 125.3 kB / 0.7212 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4874, allocations: 11.58 kB / 0.7212 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.4874, allocations: 8.562 kB / 0.7212 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.4877, allocations: 105.5 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4877, allocations: 0 / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4878, allocations: 5.312 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4878, allocations: 5.625 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.4881, allocations: 93.59 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.4886, allocations: 277.9 kB / 0.7217 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.4893, allocations: 111.9 kB / 0.7218 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4895, allocations: 50.2 kB / 0.7218 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4895, allocations: 6.047 kB / 0.7218 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4895, allocations: 36.33 kB / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.4895, allocations: 4.875 kB / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0006898/0.4902, allocations: 186.5 kB / 0.7221 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4902, allocations: 52.72 kB / 0.7221 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4904, allocations: 124.5 kB / 0.7222 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4904, allocations: 25.7 kB / 0.7223 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.4904, allocations: 101.7 kB / 0.7224 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4905, allocations: 16.06 kB / 0.7224 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4905, allocations: 24.05 kB / 0.7224 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4907, allocations: 326.5 kB / 0.7227 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4909, allocations: 44.8 kB / 0.7227 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.491, allocations: 44.55 kB / 0.7228 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.4914, allocations: 101.8 kB / 0.7229 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4914, allocations: 4 kB / 0.7229 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004426/0.4918, allocations: 139.2 kB / 0.723 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4919, allocations: 5.188 kB / 0.723 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4919, allocations: 4 kB / 0.723 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4919, allocations: 1.062 kB / 0.723 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.492, allocations: 24.95 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.492, allocations: 4 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.4922, allocations: 19.86 kB / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4922, allocations: 4.156 kB / 0.7231 GB, free: 14.69 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,max1.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.0001102/0.4923, allocations: 122.2 kB / 0.7232 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4923, allocations: 7.562 kB / 0.7232 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.4928, allocations: 153.6 kB / 0.7234 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4928, allocations: 1.812 kB / 0.7234 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4928, allocations: 0.6562 kB / 0.7234 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4928, allocations: 3.938 kB / 0.7234 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.493, allocations: 129.7 kB / 0.7235 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.493, allocations: 3.938 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4932, allocations: 24.92 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4932, allocations: 0.9375 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4932, allocations: 2.359 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4932, allocations: 7.938 kB / 0.7235 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4932, allocations: 1.844 kB / 0.7235 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.4937, allocations: 240 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.4937, allocations: 10.05 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.4937, allocations: 2.797 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.4938, allocations: 11.5 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.4939, allocations: 22.03 kB / 0.7238 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.4939, allocations: 6.922 kB / 0.7238 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.494, allocations: 97.41 kB / 0.7239 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.494, allocations: 0 / 0.7239 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002397/0.4942, allocations: 15.78 kB / 0.7239 GB, free: 14.07 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 (max1.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.0001022/0.4943, allocations: 94.28 kB / 0.724 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.4948, allocations: 111.3 kB / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4948, allocations: 0 / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.495, allocations: 55 kB / 0.7242 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4953, allocations: 13.2 kB / 0.7242 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.4957, allocations: 176.3 kB / 0.7243 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/0.4958, allocations: 81.92 kB / 0.7244 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.354e-05/0.4959, allocations: 12.47 kB / 0.7244 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.496, allocations: 26.23 kB / 0.7245 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of SimCode: time 4.1e-07/0.496, allocations: 4.531 kB / 0.7245 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.004721/0.5007, allocations: 1.71 MB / 0.7261 GB, free: 13.54 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.053283352404833] Failed to read output from testmodel.py, exit status != 0: 0.5092633385211229 0.523188154 0.033678940000000004 Calling exit ...