Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.00189/0.00189, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002473/0.002473, allocations: 213.1 kB / 22.25 MB, free: 5.086 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 8.016 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.38/1.38, allocations: 203.8 MB / 0.5041 GB, free: 4.934 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [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.002133/0.002133, allocations: 75.83 kB / 0.7188 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6535, allocations: 102 MB / 0.8184 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002156/0.6556, allocations: 0.8204 MB / 0.8192 GB, free: 28.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.6569, allocations: 0.9139 MB / 0.8201 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.657, allocations: 6.75 kB / 0.8201 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.6572, allocations: 10.52 kB / 0.8201 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.6572, allocations: 15.34 kB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.6574, allocations: 36.47 kB / 0.8201 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.6576, allocations: 72.94 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.6577, allocations: 31.77 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.6578, allocations: 39.16 kB / 0.8203 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.6579, allocations: 27 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.6579, allocations: 6.344 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.658, allocations: 8.734 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.658, allocations: 20.55 kB / 0.8203 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.658, allocations: 27.92 kB / 0.8204 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.6582, allocations: 78.86 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6582, allocations: 5.156 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6582, allocations: 0 / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6582, allocations: 2.641 kB / 0.8204 GB, free: 27.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004949/0.6587, allocations: 319 kB / 0.8207 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6588, allocations: 12.38 kB / 0.8208 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.6589, allocations: 17.48 kB / 0.8208 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.6591, allocations: 140.5 kB / 0.8209 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.6592, allocations: 6.031 kB / 0.8209 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.6592, allocations: 4.109 kB / 0.8209 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.6593, allocations: 67.27 kB / 0.821 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6593, allocations: 1.75 kB / 0.821 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6594, allocations: 5.75 kB / 0.821 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6594, allocations: 1.219 kB / 0.821 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.6595, allocations: 32 kB / 0.821 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.6599, allocations: 288.8 kB / 0.8213 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.6601, allocations: 50.17 kB / 0.8213 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.6601, allocations: 21.55 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.6601, allocations: 1.375 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.6602, allocations: 31.97 kB / 0.8214 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6602, allocations: 0 / 0.8214 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002733/0.6604, allocations: 77.19 kB / 0.8215 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.6605, allocations: 52.94 kB / 0.8215 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.6606, allocations: 137.2 kB / 0.8216 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6606, allocations: 35.19 kB / 0.8217 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.6606, allocations: 101.5 kB / 0.8218 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.6606, allocations: 10.81 kB / 0.8218 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.6607, allocations: 18.95 kB / 0.8218 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.6607, allocations: 323.4 kB / 0.8221 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.6608, allocations: 14.39 kB / 0.8221 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.6608, allocations: 15.23 kB / 0.8221 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.6609, allocations: 32.53 kB / 0.8222 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6609, allocations: 0 / 0.8222 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.661, allocations: 74.72 kB / 0.8222 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6611, allocations: 7.25 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6611, allocations: 0.6562 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.6611, allocations: 1.094 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.6611, allocations: 4.797 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6612, allocations: 0.75 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.6612, allocations: 9.922 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.6612, allocations: 1.25 kB / 0.8223 GB, free: 26.16 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.948e-05/0.6613, allocations: 127.6 kB / 0.8224 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.6613, allocations: 6.797 kB / 0.8224 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.6614, allocations: 12.42 kB / 0.8224 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6614, allocations: 1.125 kB / 0.8224 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.6614, allocations: 0 / 0.8224 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6614, allocations: 0.7031 kB / 0.8224 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.6615, allocations: 154.1 kB / 0.8226 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6615, allocations: 0.5156 kB / 0.8226 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.6616, allocations: 9.047 kB / 0.8226 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6616, allocations: 0.5625 kB / 0.8226 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.6616, allocations: 5.203 kB / 0.8226 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6616, allocations: 0.875 kB / 0.8226 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6616, allocations: 4.688 kB / 0.8226 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.6617, allocations: 163.4 kB / 0.8227 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.6617, allocations: 6.453 kB / 0.8227 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.6618, allocations: 1.609 kB / 0.8227 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6619, allocations: 14.14 kB / 0.8228 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.6619, allocations: 7.062 kB / 0.8228 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.6619, allocations: 6.109 kB / 0.8228 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.662, allocations: 99.28 kB / 0.8229 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.662, allocations: 0 / 0.8229 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002272/0.6622, allocations: 15.69 kB / 0.8229 GB, free: 25.59 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001101/0.6623, allocations: 98.2 kB / 0.823 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.6625, allocations: 36.59 kB / 0.823 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6625, allocations: 0.5938 kB / 0.823 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.6626, allocations: 19.89 kB / 0.823 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6628, allocations: 11.17 kB / 0.823 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.6632, allocations: 174.8 kB / 0.8232 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.6633, allocations: 0.6933 MB / 0.8239 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.6634, allocations: 8.656 kB / 0.8239 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.6634, allocations: 11.73 kB / 0.8239 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6634, allocations: 0 / 0.8239 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of Templates: time 0.004006/0.6674, allocations: 0.8762 MB / 0.8248 GB, free: 24.53 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.988867178559303] Failed to read output from testmodel.py, exit status != 0: 0.6767677422612906 0.69005674 0.029063122 Calling exit ...