Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001709/0.001709, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.002089/0.002089, allocations: 165.7 kB / 22.76 MB, free: 1.656 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 1.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.222/1.222, allocations: 154.6 MB / 414.2 MB, free: 0.625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.208e-05, allocations: 4.719 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.00226/0.002292, allocations: 0.7375 MB / 0.5204 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003853, allocations: 0.8947 MB / 0.5212 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.003915, allocations: 0 / 0.5212 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.003956, allocations: 4.562 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.004058, allocations: 11.81 kB / 0.5212 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.004281, allocations: 41.2 kB / 0.5213 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004429, allocations: 87.81 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.004557, allocations: 16.61 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.004722, allocations: 51.89 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004823, allocations: 41.38 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.004854, allocations: 8 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.004875, allocations: 8 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.004908, allocations: 19.92 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.004965, allocations: 32.53 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.005161, allocations: 95.64 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005164, allocations: 1.375 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005165, allocations: 0 / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.00517, allocations: 0 / 0.5216 GB, free: 0.4961 MB / 490.7 MB 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.0007974/0.005967, allocations: 310.8 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.006015, allocations: 12.53 kB / 0.5219 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.006094, allocations: 13.86 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.00629, allocations: 121.6 kB / 0.5221 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.006314, allocations: 4.375 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.006335, allocations: 9.391 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.00672, allocations: 108.7 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.006733, allocations: 3.938 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.006754, allocations: 4 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.006762, allocations: 4 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.007163, allocations: 93.47 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.0078, allocations: 276.3 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.00848, allocations: 115.6 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.008701, allocations: 54 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.008736, allocations: 4.562 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.008773, allocations: 34.5 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.008774, allocations: 4.969 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0007804/0.009554, allocations: 187 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.009612, allocations: 56.62 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.00976, allocations: 123.9 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.009786, allocations: 29.7 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.009869, allocations: 88.78 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.009908, allocations: 27.78 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.009972, allocations: 23 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.01016, allocations: 322.8 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.01036, allocations: 45.3 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.01056, allocations: 44.7 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.01094, allocations: 111.9 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01094, allocations: 4 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004598/0.0114, allocations: 140.5 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01142, allocations: 4 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01143, allocations: 0 / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/0.01146, allocations: 4 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.01165, allocations: 27.95 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01165, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01178, allocations: 13.45 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01179, allocations: 0 / 0.5239 GB, free: 13.97 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,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.0001342/0.01192, allocations: 125.7 kB / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.01197, allocations: 8.453 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.01251, allocations: 153.8 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01252, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01252, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01252, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.01273, allocations: 133.2 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01273, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.01289, allocations: 30.38 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.0129, allocations: 3.938 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01291, allocations: 4 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01291, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01291, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.01347, allocations: 244.3 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.01349, allocations: 12.91 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.01351, allocations: 4 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01366, allocations: 8.984 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.01376, allocations: 23.97 kB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01377, allocations: 1.594 kB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.01386, allocations: 99.27 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01386, allocations: 0 / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002472/0.0141, allocations: 12 kB / 0.5248 GB, free: 13.07 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 (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.0001579/0.01426, allocations: 100.3 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.01474, allocations: 101.2 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01474, allocations: 1.5 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.01497, allocations: 67.88 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.01537, allocations: 12.91 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.01595, allocations: 177.6 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.366e-05/0.01605, allocations: 76.55 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.333e-05/0.01612, allocations: 15.91 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.01621, allocations: 24.48 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01621, allocations: 0 / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.005056/0.02126, allocations: 1.718 MB / 0.527 GB, free: 10.83 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.946771882008761]