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.0006425/0.0006425, 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.0007823/0.0007823, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8739/0.8739, allocations: 230.6 MB / 256.8 MB, free: 3.438 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.7601/0.7601, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 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.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.0009407/0.0009407, allocations: 71.89 kB / 0.7195 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4424, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001587/0.444, allocations: 0.82 MB / 0.8199 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.4448, allocations: 0.9159 MB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.4449, allocations: 6.562 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.4451, allocations: 10.66 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.4451, allocations: 11.48 kB / 0.8209 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.4453, allocations: 36.62 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.4454, allocations: 83.41 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4455, allocations: 22.39 kB / 0.821 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.4456, allocations: 38.27 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.4457, allocations: 37.02 kB / 0.8211 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.4457, allocations: 5.531 kB / 0.8211 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.4458, allocations: 7.938 kB / 0.8211 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.4458, allocations: 12.03 kB / 0.8211 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.4458, allocations: 32.16 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.4459, allocations: 78.48 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4459, allocations: 0.6875 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4459, allocations: 0.9375 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.446, allocations: 2.656 kB / 0.8212 GB, free: 23.84 MB / 0.6355 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.0003936/0.4464, allocations: 318.2 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4464, allocations: 12.64 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.4465, allocations: 18.27 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.4467, allocations: 143.3 kB / 0.8217 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4467, allocations: 6.906 kB / 0.8217 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4467, allocations: 7.484 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4468, allocations: 60.91 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4469, allocations: 192 / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4469, allocations: 9.062 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4469, allocations: 1.438 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.447, allocations: 36.61 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.4473, allocations: 287.4 kB / 0.8221 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4474, allocations: 51.72 kB / 0.8221 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.4474, allocations: 20.67 kB / 0.8221 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4475, allocations: 3.938 kB / 0.8221 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.4475, allocations: 33.33 kB / 0.8222 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4475, allocations: 0 / 0.8222 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001783/0.4477, allocations: 71.64 kB / 0.8222 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.4477, allocations: 52.25 kB / 0.8223 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.4477, allocations: 141.2 kB / 0.8224 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4478, allocations: 26.86 kB / 0.8224 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.4478, allocations: 94.33 kB / 0.8225 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.4478, allocations: 14.45 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.4478, allocations: 23.64 kB / 0.8226 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.4479, allocations: 323.2 kB / 0.8229 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.4479, allocations: 14.66 kB / 0.8229 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.4479, allocations: 14.56 kB / 0.8229 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.448, allocations: 30.73 kB / 0.8229 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.448, allocations: 1.219 kB / 0.8229 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.453e-05/0.4481, allocations: 69.56 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4481, allocations: 8.281 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4481, allocations: 3.125 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4481, allocations: 2.406 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.4482, allocations: 7.984 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.4482, allocations: 1.312 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.4482, allocations: 9.234 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4482, allocations: 1.312 kB / 0.823 GB, free: 22.21 MB / 0.6355 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 4.874e-05/0.4483, allocations: 123.5 kB / 0.8231 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.4483, allocations: 10.84 kB / 0.8232 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.4483, allocations: 13.23 kB / 0.8232 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4483, allocations: 0 / 0.8232 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4483, allocations: 0 / 0.8232 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4483, allocations: 0 / 0.8232 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.4484, allocations: 155 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4484, allocations: 0 / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.4484, allocations: 8.453 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4484, allocations: 0 / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4484, allocations: 1.797 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4484, allocations: 0.8438 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4484, allocations: 0 / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.505e-05/0.4485, allocations: 172.5 kB / 0.8235 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.4485, allocations: 10.17 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4485, allocations: 6.219 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.4486, allocations: 9.062 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4486, allocations: 7.5 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4486, allocations: 2.266 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.4487, allocations: 102.9 kB / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4487, allocations: 0 / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001453/0.4488, allocations: 15.25 kB / 0.8236 GB, free: 21.64 MB / 0.6355 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 8.098e-05/0.4489, allocations: 98.14 kB / 0.8237 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.449, allocations: 33.27 kB / 0.8238 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.449, allocations: 0 / 0.8238 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.4491, allocations: 16.61 kB / 0.8238 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4493, allocations: 10.89 kB / 0.8238 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.4496, allocations: 206.5 kB / 0.824 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.4497, allocations: 0.6941 MB / 0.8247 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.4497, allocations: 11.83 kB / 0.8247 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4497, allocations: 0 / 0.8247 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.00289/0.4526, allocations: 0.9795 MB / 0.8256 GB, free: 20.56 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.450604289071634] Failed to read output from testmodel.py, exit status != 0: 0.4586229529231787 0.466997281 0.019281929 Calling exit ...