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.0009318/0.0009318, allocations: 93.06 kB / 19.65 MB, free: 280 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.000919/0.000919, allocations: 169 kB / 23.02 MB, free: 1.551 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8555/0.8555, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 378.7 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 179] 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.161e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001527/0.001549, allocations: 0.7644 MB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.002528, allocations: 0.9099 MB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.002581, allocations: 1.281 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.002617, allocations: 7.875 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.002703, allocations: 15.86 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.002876, allocations: 36.44 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.002972, allocations: 84.88 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003082, allocations: 19.98 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.003181, allocations: 56.47 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.003251, allocations: 39.88 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.003276, allocations: 10.03 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.003289, allocations: 8 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.003324, allocations: 20 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.003357, allocations: 27.83 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003468, allocations: 63.73 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003471, allocations: 1.344 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003472, allocations: 3.984 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003476, allocations: 0 / 0.5226 GB, free: 15.9 MB / 0.4948 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.0005778/0.004054, allocations: 405.9 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.004092, allocations: 8.031 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.004139, allocations: 12.89 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.004243, allocations: 120.5 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.004267, allocations: 9.344 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.004283, allocations: 4.375 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.004464, allocations: 91.86 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.004478, allocations: 7.938 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.004491, allocations: 1 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004499, allocations: 0 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.004569, allocations: 28.47 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.004959, allocations: 332.5 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.005247, allocations: 76.28 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.005292, allocations: 23.67 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.005318, allocations: 0.625 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.005341, allocations: 46.83 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.005342, allocations: 0 / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002232/0.005565, allocations: 89.58 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.005594, allocations: 53.22 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.005682, allocations: 184.9 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005694, allocations: 25.7 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.005746, allocations: 142.8 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.005771, allocations: 15.86 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.005809, allocations: 33.11 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.005922, allocations: 0.4922 MB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.005956, allocations: 8 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.005988, allocations: 20.23 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.506e-05/0.006053, allocations: 40.56 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006055, allocations: 1.406 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001104/0.006165, allocations: 73.62 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.006178, allocations: 4 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.006184, allocations: 5.016 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.006203, allocations: 8 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.006283, allocations: 15.98 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.006288, allocations: 4.875 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.006325, allocations: 8 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.006336, allocations: 11.23 kB / 0.5249 GB, free: 13.35 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.513e-05/0.006411, allocations: 156.5 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.006433, allocations: 11.95 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.006578, allocations: 86.03 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.00658, allocations: 3.984 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006584, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.006586, allocations: 3.031 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.0067, allocations: 140.5 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006701, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.006758, allocations: 19.92 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006761, allocations: 7.938 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.006769, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00677, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00677, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.006913, allocations: 233.3 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.006923, allocations: 7.938 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.006936, allocations: 4 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.006985, allocations: 5.531 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.00705, allocations: 27.95 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.007057, allocations: 7.984 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.0071, allocations: 135.2 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0071, allocations: 1.281 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001518/0.007252, allocations: 15.98 kB / 0.5257 GB, free: 12.44 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 7.378e-05/0.007326, allocations: 95.81 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.007451, allocations: 48.31 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007452, allocations: 0.5 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.007507, allocations: 42.05 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.007703, allocations: 23.86 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.008035, allocations: 174.7 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.008374, allocations: 61.78 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.008412, allocations: 9.812 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.008471, allocations: 24.48 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.008471, allocations: 1.094 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.003134/0.01161, allocations: 1.708 MB / 0.5278 GB, free: 10.28 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1447253711521626]