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.001367/0.001367, allocations: 92.22 kB / 19.65 MB, free: 276 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.001333/0.001333, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.8993/0.8993, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7829/0.7829, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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 179] 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 1.743e-06/1.743e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.109e-05, allocations: 7.453 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001449/0.00148, allocations: 0.7536 MB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.002405, allocations: 0.9116 MB / 0.522 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.002453, allocations: 1.375 kB / 0.522 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.002493, allocations: 11.88 kB / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.002582, allocations: 11.86 kB / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.002786, allocations: 40.52 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.002902, allocations: 95.69 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.003032, allocations: 12.8 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.003147, allocations: 55.89 kB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.003218, allocations: 40.88 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.003249, allocations: 8 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.003262, allocations: 8.844 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.003286, allocations: 19.97 kB / 0.5223 GB, free: 276 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.003321, allocations: 23.92 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.00344, allocations: 61.53 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.003444, allocations: 4 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.003445, allocations: 0 / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.003451, allocations: 0 / 0.5223 GB, free: 188 kB / 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.0004523/0.003903, allocations: 404.9 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.003942, allocations: 12.56 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.00399, allocations: 12.89 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.00409, allocations: 129.3 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.00411, allocations: 4.359 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.004124, allocations: 9.031 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.004294, allocations: 91.47 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.004305, allocations: 4.562 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.004317, allocations: 0 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.004325, allocations: 4.875 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.004389, allocations: 32.84 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.004784, allocations: 319.6 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.005081, allocations: 84.83 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.005122, allocations: 23.69 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.005144, allocations: 9.734 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.005166, allocations: 33.39 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.005167, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002133/0.005381, allocations: 85.64 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.005415, allocations: 56.09 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.005503, allocations: 181.9 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.005516, allocations: 35.09 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.005567, allocations: 138.8 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.00559, allocations: 19.86 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.005627, allocations: 28.61 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.005751, allocations: 0.4922 MB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.005784, allocations: 12 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.00581, allocations: 14.05 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.005875, allocations: 40.12 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005877, allocations: 0 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/0.005984, allocations: 85.48 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005997, allocations: 9.938 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006001, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.006013, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.006084, allocations: 15.98 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.00609, allocations: 4 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.006123, allocations: 4.562 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.006131, allocations: 4.984 kB / 0.5246 GB, free: 13.63 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 7.241e-05/0.006204, allocations: 164.5 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.006223, allocations: 8.828 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.006367, allocations: 90.95 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.00637, allocations: 4 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006374, allocations: 1 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006377, allocations: 0 / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.006497, allocations: 144.5 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006498, allocations: 1.156 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.006555, allocations: 19.98 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006558, allocations: 0 / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.006566, allocations: 3.062 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006567, allocations: 0 / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.00657, allocations: 4 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.006723, allocations: 223.8 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.006734, allocations: 15.94 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.006748, allocations: 4 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.006795, allocations: 4 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.006861, allocations: 27 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.006869, allocations: 7.984 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.006914, allocations: 135.2 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006914, allocations: 0 / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001448/0.007059, allocations: 16 kB / 0.5255 GB, free: 12.71 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 8.392e-05/0.007143, allocations: 98.12 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.007268, allocations: 45.16 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00727, allocations: 0 / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.007323, allocations: 43.55 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.007516, allocations: 20.42 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.007849, allocations: 177.7 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.007887, allocations: 65.58 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.007925, allocations: 6.438 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.007977, allocations: 25.92 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.02e-07/0.007977, allocations: 0 / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.003398/0.01138, allocations: 1.812 MB / 0.5277 GB, free: 10.47 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.566267215181142]