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.001356/0.001356, allocations: 88.72 kB / 19.44 MB, free: 352 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.001477/0.001477, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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-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 1.282/1.282, allocations: 154.8 MB / 414.4 MB, free: 444 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 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: Performance of FrontEnd - loaded program: time 3.055e-06/3.055e-06, allocations: 0 / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.67e-05/3.975e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002973/0.003013, allocations: 0.7911 MB / 0.5207 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.005106, allocations: 0.9035 MB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.005216, allocations: 3.938 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.005386, allocations: 11.88 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.00545, allocations: 20.56 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.005712, allocations: 28.53 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.005887, allocations: 81 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.006033, allocations: 27.97 kB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.006251, allocations: 43.84 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-05/0.006344, allocations: 24.81 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.006371, allocations: 4 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.006431, allocations: 12 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.006463, allocations: 12.45 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.006508, allocations: 19.41 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.006732, allocations: 87.66 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.006738, allocations: 4 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006739, allocations: 0 / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006744, allocations: 0 / 0.5219 GB, free: 168 kB / 490.7 MB 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.0008472/0.007592, allocations: 314 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.00764, allocations: 8.031 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.007862, allocations: 17.52 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.008209, allocations: 152.6 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.008231, allocations: 4.906 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.00825, allocations: 5.312 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.008446, allocations: 66.22 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.00846, allocations: 1.719 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.008476, allocations: 384 / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.008483, allocations: 384 / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.008655, allocations: 39.86 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.009202, allocations: 245.8 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.009389, allocations: 52.55 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.009509, allocations: 24.84 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.009532, allocations: 0 / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.009577, allocations: 34.56 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.009578, allocations: 0.5625 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003281/0.009906, allocations: 78.14 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.009957, allocations: 56.12 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.0101, allocations: 133.8 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01013, allocations: 26.27 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.01022, allocations: 101.5 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.01024, allocations: 11.94 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.01028, allocations: 17.72 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.01048, allocations: 318.8 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.01054, allocations: 12.78 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.01059, allocations: 16.86 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.01068, allocations: 28.84 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01068, allocations: 3.031 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001605/0.01084, allocations: 77.5 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01086, allocations: 7.938 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01086, allocations: 0 / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.01089, allocations: 0 / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.01095, allocations: 4 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01096, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.01104, allocations: 21.72 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.01105, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 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 0.00026/0.01131, allocations: 117.8 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.01134, allocations: 7.938 kB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.01137, allocations: 11.09 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01137, allocations: 4 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01138, allocations: 0 / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01138, allocations: 4 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01157, allocations: 125.2 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01157, allocations: 0 / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.01161, allocations: 7.938 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01161, allocations: 1.875 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01162, allocations: 3.984 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01162, allocations: 3.938 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01162, allocations: 0 / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.01183, allocations: 156.5 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.01185, allocations: 7.891 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01187, allocations: 0 / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.01197, allocations: 12.7 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.01203, allocations: 13.3 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.01203, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.186e-05/0.01212, allocations: 105.5 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01212, allocations: 1.219 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002321/0.01236, allocations: 15.89 kB / 0.5243 GB, free: 13.53 MB / 0.4948 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.000149/0.01251, allocations: 99.84 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01267, allocations: 36.58 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01267, allocations: 3.094 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.01275, allocations: 15.98 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.01302, allocations: 15.94 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.01344, allocations: 164.2 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.858e-05/0.01353, allocations: 82.39 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.01357, allocations: 15.67 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.01361, allocations: 12.5 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.01361, allocations: 0 / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.003887/0.0175, allocations: 0.9061 MB / 0.5256 GB, free: 12.17 MB / 0.4948 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.877841211971827]