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.0007042/0.0007042, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007931/0.0007931, allocations: 211.1 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8687/0.8687, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.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-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 0.755/0.755, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [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: 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.0009104/0.0009104, allocations: 68.11 kB / 0.7195 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4571, allocations: 102 MB / 0.8191 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001576/0.4587, allocations: 0.7693 MB / 0.8199 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.4595, allocations: 0.8899 MB / 0.8207 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.4596, allocations: 0 / 0.8207 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.4596, allocations: 11.86 kB / 0.8207 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.4597, allocations: 11.94 kB / 0.8207 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.4598, allocations: 43.88 kB / 0.8208 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.46, allocations: 87.67 kB / 0.8209 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4601, allocations: 31.78 kB / 0.8209 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.4601, allocations: 31.91 kB / 0.8209 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.4602, allocations: 51.83 kB / 0.821 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.4602, allocations: 8 kB / 0.821 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.4603, allocations: 11.94 kB / 0.821 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.4603, allocations: 15.97 kB / 0.821 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.4603, allocations: 35.8 kB / 0.8211 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.4604, allocations: 90.47 kB / 0.8211 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4604, allocations: 0 / 0.8211 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4604, allocations: 0 / 0.8211 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4604, allocations: 0 / 0.8211 GB, free: 12.48 MB / 0.6042 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.000467/0.4609, allocations: 326 kB / 0.8214 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4609, allocations: 13.47 kB / 0.8215 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.461, allocations: 8.891 kB / 0.8215 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.4611, allocations: 114.4 kB / 0.8216 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4611, allocations: 8.375 kB / 0.8216 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.4611, allocations: 4.375 kB / 0.8216 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4613, allocations: 113.5 kB / 0.8217 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4613, allocations: 4 kB / 0.8217 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4613, allocations: 4 kB / 0.8217 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4614, allocations: 0 / 0.8217 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.4616, allocations: 95.84 kB / 0.8218 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.462, allocations: 315.8 kB / 0.8221 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.4624, allocations: 118.5 kB / 0.8222 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4625, allocations: 52.8 kB / 0.8223 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4625, allocations: 11.98 kB / 0.8223 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4625, allocations: 34.56 kB / 0.8223 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4625, allocations: 0 / 0.8223 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003873/0.4629, allocations: 177.5 kB / 0.8225 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.4629, allocations: 63.34 kB / 0.8225 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.463, allocations: 129.6 kB / 0.8227 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.463, allocations: 25.7 kB / 0.8227 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.4631, allocations: 104 kB / 0.8228 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.4631, allocations: 19.8 kB / 0.8228 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.4631, allocations: 25.7 kB / 0.8228 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.4632, allocations: 314.8 kB / 0.8231 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4633, allocations: 47.95 kB / 0.8232 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.4634, allocations: 52.23 kB / 0.8232 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.4636, allocations: 96.78 kB / 0.8233 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4636, allocations: 0 / 0.8233 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002208/0.4638, allocations: 141.5 kB / 0.8235 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4638, allocations: 11.94 kB / 0.8235 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4638, allocations: 0 / 0.8235 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4639, allocations: 0 / 0.8235 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.4639, allocations: 23.97 kB / 0.8235 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4639, allocations: 0 / 0.8235 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.464, allocations: 23.86 kB / 0.8235 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.464, allocations: 8 kB / 0.8235 GB, free: 9.867 MB / 0.6042 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 6.562e-05/0.4641, allocations: 114.8 kB / 0.8236 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.4641, allocations: 7.953 kB / 0.8236 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.4644, allocations: 149.9 kB / 0.8238 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4644, allocations: 4 kB / 0.8238 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4644, allocations: 0 / 0.8238 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4644, allocations: 3.938 kB / 0.8238 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.4645, allocations: 172.7 kB / 0.8239 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4645, allocations: 0 / 0.8239 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.4646, allocations: 23.97 kB / 0.824 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4646, allocations: 0 / 0.824 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4646, allocations: 0 / 0.824 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4646, allocations: 4 kB / 0.824 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4646, allocations: 3.984 kB / 0.824 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.4648, allocations: 235.4 kB / 0.8242 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.4648, allocations: 11.88 kB / 0.8242 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.4649, allocations: 4 kB / 0.8242 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.4649, allocations: 19.98 kB / 0.8242 GB, free: 9.051 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.465, allocations: 23.91 kB / 0.8243 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.465, allocations: 4 kB / 0.8243 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.465, allocations: 99.2 kB / 0.8244 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.465, allocations: 0 / 0.8244 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001464/0.4652, allocations: 12 kB / 0.8244 GB, free: 8.914 MB / 0.6042 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.652e-05/0.4653, allocations: 99.23 kB / 0.8245 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.4655, allocations: 99.91 kB / 0.8246 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4655, allocations: 0 / 0.8246 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.4656, allocations: 59.89 kB / 0.8246 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4658, allocations: 11.92 kB / 0.8246 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.4662, allocations: 206.2 kB / 0.8248 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.4666, allocations: 0.6923 MB / 0.8255 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.4667, allocations: 23.42 kB / 0.8255 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of SimCode: time 4.4e-07/0.4667, allocations: 0 / 0.8255 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of Templates: time 0.001913/0.4686, allocations: 1.244 MB / 0.8267 GB, free: 6.426 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.427986485883594] Failed to read output from testmodel.py, exit status != 0: 0.47409168304875493 0.486206505 0.024072786000000002 Calling exit ...