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.001046/0.001046, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001231/0.001231, allocations: 165 kB / 23.02 MB, free: 1.555 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.087/1.087, allocations: 177.1 MB / 203.4 MB, free: 5.09 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.7705/0.7705, allocations: 154.8 MB / 414.7 MB, free: 464 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.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: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.638e-05, allocations: 3.156 kB / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001448/0.001475, allocations: 0.8063 MB / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.002395, allocations: 0.9326 MB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.002472, allocations: 0.875 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.002578, allocations: 11.81 kB / 0.5223 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.00261, allocations: 17.62 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.002776, allocations: 27.91 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.002869, allocations: 75.77 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.002974, allocations: 20.64 kB / 0.5225 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.003109, allocations: 53.08 kB / 0.5225 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.003166, allocations: 19.97 kB / 0.5225 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003182, allocations: 4 kB / 0.5225 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 3.779e-05/0.00322, allocations: 11.84 kB / 0.5226 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.003237, allocations: 20.42 kB / 0.5226 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.00326, allocations: 16.83 kB / 0.5226 GB, free: 15.87 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.003374, allocations: 55.75 kB / 0.5226 GB, free: 15.81 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003376, allocations: 0.6875 kB / 0.5226 GB, free: 15.81 MB / 0.4949 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003377, allocations: 0 / 0.5226 GB, free: 15.81 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003381, allocations: 0.5312 kB / 0.5226 GB, free: 15.81 MB / 0.4949 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.0003477/0.003729, allocations: 405 kB / 0.523 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.003762, allocations: 8.938 kB / 0.523 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.003875, allocations: 16.89 kB / 0.5231 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.004023, allocations: 151.4 kB / 0.5232 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.004033, allocations: 6.062 kB / 0.5232 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.004044, allocations: 8.375 kB / 0.5232 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.004143, allocations: 62.94 kB / 0.5233 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.00415, allocations: 4.172 kB / 0.5233 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.004158, allocations: 4.312 kB / 0.5233 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.004165, allocations: 6.125 kB / 0.5233 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.004202, allocations: 15.92 kB / 0.5233 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.004505, allocations: 311.6 kB / 0.5236 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.004585, allocations: 43.84 kB / 0.5236 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.004608, allocations: 17.11 kB / 0.5237 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.00462, allocations: 4.062 kB / 0.5237 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.00464, allocations: 37.39 kB / 0.5237 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004641, allocations: 0 / 0.5237 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 0.0001361/0.004777, allocations: 50.89 kB / 0.5237 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.004801, allocations: 51.41 kB / 0.5238 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.00489, allocations: 189.9 kB / 0.524 GB, free: 14.29 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.004904, allocations: 27.8 kB / 0.524 GB, free: 14.26 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.004957, allocations: 146.8 kB / 0.5241 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.004972, allocations: 7.953 kB / 0.5242 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.005001, allocations: 27.3 kB / 0.5242 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.005112, allocations: 0.4884 MB / 0.5247 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.00513, allocations: 4 kB / 0.5247 GB, free: 13.56 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.005144, allocations: 9.891 kB / 0.5247 GB, free: 13.55 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.005177, allocations: 15.69 kB / 0.5247 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005178, allocations: 0 / 0.5247 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.714e-05/0.005246, allocations: 53.62 kB / 0.5247 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.005258, allocations: 4 kB / 0.5247 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.005261, allocations: 0.5625 kB / 0.5247 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005273, allocations: 4.969 kB / 0.5247 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.005322, allocations: 3.938 kB / 0.5247 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.005327, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.005353, allocations: 12.84 kB / 0.5248 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.005358, allocations: 4 kB / 0.5248 GB, free: 13.45 MB / 0.4949 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.167e-05/0.00542, allocations: 157.5 kB / 0.5249 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.00544, allocations: 11.89 kB / 0.5249 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.005465, allocations: 17.36 kB / 0.5249 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005467, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00547, allocations: 3.062 kB / 0.5249 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.005472, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.00557, allocations: 132.6 kB / 0.5251 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005572, allocations: 7.922 kB / 0.5251 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.005589, allocations: 4 kB / 0.5251 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.005592, allocations: 4.266 kB / 0.5251 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005598, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005599, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0056, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.005715, allocations: 206.8 kB / 0.5253 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.005726, allocations: 7.922 kB / 0.5253 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.005745, allocations: 4 kB / 0.5253 GB, free: 12.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.005784, allocations: 8 kB / 0.5253 GB, free: 12.84 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.005824, allocations: 7.984 kB / 0.5253 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.005828, allocations: 4 kB / 0.5253 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.005877, allocations: 145.5 kB / 0.5255 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.005877, allocations: 0 / 0.5255 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001414/0.006018, allocations: 13.45 kB / 0.5255 GB, free: 12.67 MB / 0.4949 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.548e-05/0.006104, allocations: 95.25 kB / 0.5256 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.006178, allocations: 24.17 kB / 0.5256 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006179, allocations: 3 kB / 0.5256 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.006201, allocations: 15.62 kB / 0.5256 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.00638, allocations: 15.98 kB / 0.5256 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.006833, allocations: 177.8 kB / 0.5258 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.006867, allocations: 61.78 kB / 0.5258 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.00689, allocations: 4 kB / 0.5258 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.006921, allocations: 12.5 kB / 0.5259 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of SimCode: time 9.82e-07/0.006922, allocations: 0 / 0.5259 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.002384/0.009305, allocations: 0.9108 MB / 0.5267 GB, free: 11.34 MB / 0.4949 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.080129036214203]