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.00135/0.00135, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001129/0.001129, allocations: 177 kB / 23.35 MB, free: 1.137 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.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.9224/0.9224, allocations: 154.9 MB / 415.1 MB, free: 284 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 2.134e-06/2.134e-06, allocations: 0 / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.399e-05, allocations: 3.875 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001543/0.001567, allocations: 0.8037 MB / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002742, allocations: 0.9176 MB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.002787, allocations: 0 / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.002816, allocations: 5.812 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.002899, allocations: 10.67 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.003056, allocations: 47.81 kB / 482.2 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003157, allocations: 81.8 kB / 482.3 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.003248, allocations: 33.53 kB / 482.3 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003352, allocations: 51.67 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.003424, allocations: 39.64 kB / 482.4 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.003447, allocations: 11.94 kB / 482.4 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.003458, allocations: 8 kB / 482.4 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.003481, allocations: 16.53 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.003508, allocations: 27.91 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003611, allocations: 68.72 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003613, allocations: 0 / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003614, allocations: 0 / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003618, allocations: 0.75 kB / 482.5 MB, free: 4.504 MB / 442.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.000339/0.003957, allocations: 285.7 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.003992, allocations: 12.03 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.004023, allocations: 5.969 kB / 482.8 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.7e-05/0.00411, allocations: 121.7 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.004126, allocations: 384 / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.004136, allocations: 8.969 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.00429, allocations: 105.7 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.004299, allocations: 3.938 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004307, allocations: 1.156 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.004313, allocations: 4 kB / 483.1 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.004357, allocations: 18.44 kB / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.00466, allocations: 200.1 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.004899, allocations: 63.5 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.004931, allocations: 18.5 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.004951, allocations: 4 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.004976, allocations: 31.16 kB / 483.4 MB, free: 3.562 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.004978, allocations: 0.6562 kB / 483.4 MB, free: 3.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001479/0.005126, allocations: 70.84 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.005153, allocations: 55.41 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.005217, allocations: 122.7 kB / 483.6 MB, free: 3.289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.005227, allocations: 26.61 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.005259, allocations: 92.08 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.005282, allocations: 27.78 kB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.005315, allocations: 22.56 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.005387, allocations: 318.8 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.00541, allocations: 8.891 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.005429, allocations: 8 kB / 484.1 MB, free: 2.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.00548, allocations: 33.45 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005482, allocations: 4.562 kB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.795e-05/0.00557, allocations: 66.69 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.005582, allocations: 4.625 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005587, allocations: 80 / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.005599, allocations: 4.562 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.005679, allocations: 20.45 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005683, allocations: 4.578 kB / 484.3 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.00572, allocations: 7.984 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.005727, allocations: 4.812 kB / 484.3 MB, free: 2.621 MB / 442.7 MB 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 6.248e-05/0.00579, allocations: 115.6 kB / 484.4 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.00581, allocations: 7.984 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.005916, allocations: 74.03 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005918, allocations: 1.125 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005919, allocations: 0 / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005922, allocations: 4 kB / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.006024, allocations: 90.72 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006025, allocations: 4 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.006083, allocations: 15.98 kB / 484.6 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.006086, allocations: 7.828 kB / 484.6 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.006094, allocations: 4 kB / 484.6 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.006096, allocations: 4 kB / 484.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.006099, allocations: 3.984 kB / 484.6 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.006201, allocations: 159.5 kB / 484.7 MB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.00621, allocations: 5.094 kB / 484.8 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006223, allocations: 4 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.00627, allocations: 4 kB / 484.8 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.006325, allocations: 24.62 kB / 484.8 MB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.006331, allocations: 3.984 kB / 484.8 MB, free: 2.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.001e-05/0.006351, allocations: 25.8 kB / 484.8 MB, free: 2.035 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006351, allocations: 4 kB / 484.8 MB, free: 2.031 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.006484, allocations: 11.95 kB / 484.8 MB, free: 2.02 MB / 442.7 MB 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.177e-05/0.006566, allocations: 81.17 kB / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.006649, allocations: 33.62 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.006652, allocations: 4 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.006693, allocations: 26 kB / 485 MB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.006838, allocations: 19.92 kB / 485 MB, free: 1.848 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.007112, allocations: 163 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.51e-05/0.007147, allocations: 64.44 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.07e-05/0.007188, allocations: 10.62 kB / 485.2 MB, free: 1.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.007272, allocations: 71.84 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007273, allocations: 0.6562 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of Templates: time 0.003239/0.01051, allocations: 1.693 MB / 487 MB, free: 15.91 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.796019821893424]