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.00157/0.00157, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.001575/0.001575, allocations: 220.1 kB / 22.25 MB, free: 5.215 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 1.274/1.274, allocations: 203.8 MB / 0.5041 GB, free: 4.957 MB / 414.1 MB " [Timeout remaining time 178] 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.002067/0.002067, allocations: 67.89 kB / 0.7187 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6092, allocations: 102 MB / 0.8183 GB, free: 29.22 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002323/0.6115, allocations: 0.7752 MB / 0.8191 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.6127, allocations: 0.8942 MB / 0.82 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.6128, allocations: 0.9688 kB / 0.82 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.6128, allocations: 5.203 kB / 0.82 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.6129, allocations: 17.22 kB / 0.82 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.6131, allocations: 42.08 kB / 0.82 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.6133, allocations: 82.84 kB / 0.8201 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.6134, allocations: 25.83 kB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.6135, allocations: 44.64 kB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.6136, allocations: 48.16 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.6136, allocations: 9.156 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.6137, allocations: 7.5 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.6137, allocations: 22.52 kB / 0.8203 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.6137, allocations: 35.42 kB / 0.8203 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.6139, allocations: 89.28 kB / 0.8204 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6139, allocations: 0.5625 kB / 0.8204 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6139, allocations: 1.031 kB / 0.8204 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.6139, allocations: 0.5312 kB / 0.8204 GB, free: 27.86 MB / 0.6387 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.0006383/0.6145, allocations: 316.5 kB / 0.8207 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6146, allocations: 11.31 kB / 0.8207 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.6146, allocations: 10.09 kB / 0.8207 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.6148, allocations: 121.4 kB / 0.8208 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.6148, allocations: 12.03 kB / 0.8208 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.6148, allocations: 4.719 kB / 0.8208 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.6151, allocations: 110.2 kB / 0.8209 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6151, allocations: 1 kB / 0.8209 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.6152, allocations: 9.234 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.6152, allocations: 2.156 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.6156, allocations: 94.84 kB / 0.821 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.6161, allocations: 315 kB / 0.8213 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.6168, allocations: 114.8 kB / 0.8214 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.617, allocations: 55.27 kB / 0.8215 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.617, allocations: 7.531 kB / 0.8215 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.617, allocations: 30.56 kB / 0.8215 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.617, allocations: 1.156 kB / 0.8215 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0006896/0.6177, allocations: 182.3 kB / 0.8217 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6177, allocations: 56.88 kB / 0.8218 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.6178, allocations: 127.1 kB / 0.8219 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.6178, allocations: 34.14 kB / 0.8219 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.6179, allocations: 101.1 kB / 0.822 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.6179, allocations: 23.89 kB / 0.822 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.618, allocations: 23.61 kB / 0.8221 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.618, allocations: 314.9 kB / 0.8224 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.6183, allocations: 48.62 kB / 0.8224 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.6185, allocations: 52.47 kB / 0.8225 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.6188, allocations: 92.09 kB / 0.8225 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6188, allocations: 0.5 kB / 0.8225 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004194/0.6193, allocations: 138.4 kB / 0.8227 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6193, allocations: 5.5 kB / 0.8227 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6193, allocations: 0 / 0.8227 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6193, allocations: 1.688 kB / 0.8227 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.6195, allocations: 24.16 kB / 0.8227 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6195, allocations: 4.594 kB / 0.8227 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.6196, allocations: 28.05 kB / 0.8227 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6196, allocations: 2.047 kB / 0.8227 GB, free: 26.12 MB / 0.6387 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.999e-05/0.6197, allocations: 115.5 kB / 0.8229 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.6197, allocations: 8.5 kB / 0.8229 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.6201, allocations: 153.5 kB / 0.823 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6201, allocations: 0 / 0.823 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6202, allocations: 1.938 kB / 0.823 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6202, allocations: 4.547 kB / 0.823 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.6203, allocations: 165.1 kB / 0.8232 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6203, allocations: 0.5 kB / 0.8232 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.6205, allocations: 28.34 kB / 0.8232 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6205, allocations: 2.125 kB / 0.8232 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6205, allocations: 8.703 kB / 0.8232 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.6205, allocations: 1.156 kB / 0.8232 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6205, allocations: 4.797 kB / 0.8232 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.6209, allocations: 238.5 kB / 0.8234 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.6209, allocations: 8.609 kB / 0.8235 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.6209, allocations: 8.594 kB / 0.8235 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.6211, allocations: 15.58 kB / 0.8235 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.6212, allocations: 26.41 kB / 0.8235 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.6212, allocations: 3.984 kB / 0.8235 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.6212, allocations: 92.02 kB / 0.8236 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6212, allocations: 0 / 0.8236 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002301/0.6215, allocations: 16.88 kB / 0.8236 GB, free: 25.47 MB / 0.6387 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.0001078/0.6216, allocations: 101.1 kB / 0.8237 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.622, allocations: 102.5 kB / 0.8238 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.622, allocations: 0 / 0.8238 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.6222, allocations: 64.77 kB / 0.8239 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.6226, allocations: 17.25 kB / 0.8239 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.623, allocations: 167.3 kB / 0.824 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.6231, allocations: 0.6933 MB / 0.8247 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.098e-05/0.6232, allocations: 13.17 kB / 0.8247 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.6233, allocations: 20.03 kB / 0.8247 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6233, allocations: 1 kB / 0.8247 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.00513/0.6284, allocations: 1.625 MB / 0.8263 GB, free: 24.36 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.824660720303655] Failed to read output from testmodel.py, exit status != 0: 0.6370005905628204 0.649285287 0.032738476 Calling exit ...