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.001014/0.001014, 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.001361/0.001361, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.059/1.059, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7794/0.7794, allocations: 154.9 MB / 414.8 MB, free: 396 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 3.045e-06/3.045e-06, allocations: 0 / 0.5207 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.772e-05, allocations: 7.984 kB / 0.5208 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002745/0.002783, allocations: 0.8029 MB / 0.5215 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004186, allocations: 0.9301 MB / 0.5224 GB, free: 16 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004293, allocations: 7.938 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.004459, allocations: 16.36 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.004508, allocations: 9.656 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.004771, allocations: 39.83 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004918, allocations: 71.78 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.005052, allocations: 15.98 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.005257, allocations: 61.48 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.005338, allocations: 15.97 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.005362, allocations: 8 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.005414, allocations: 11.98 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.005434, allocations: 13.44 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.005468, allocations: 19.92 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.005632, allocations: 55.75 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.005635, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005635, allocations: 0.75 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.005641, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 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.0005211/0.006162, allocations: 405.8 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.006205, allocations: 12.03 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.006374, allocations: 20.89 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.006584, allocations: 147.4 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.006598, allocations: 4.375 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.006613, allocations: 9.094 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.006756, allocations: 62.94 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006766, allocations: 3.375 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006777, allocations: 384 / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.006787, allocations: 4.312 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.006839, allocations: 23.86 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.007256, allocations: 295.7 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.007383, allocations: 43.08 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.007415, allocations: 20.25 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.007435, allocations: 0 / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.007463, allocations: 37.89 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.007465, allocations: 0.6875 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002067/0.007672, allocations: 53.72 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.007713, allocations: 56.09 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.007843, allocations: 187.3 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.007865, allocations: 31.17 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.00794, allocations: 146.8 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.007958, allocations: 7.953 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.008, allocations: 19.38 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.008163, allocations: 0.4932 MB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.008187, allocations: 0 / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.008207, allocations: 9.281 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.008253, allocations: 19.95 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008255, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001095/0.008365, allocations: 61.55 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.008381, allocations: 5.281 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.008386, allocations: 0 / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008401, allocations: 0 / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.008466, allocations: 4.812 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.008471, allocations: 0 / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.008511, allocations: 13.22 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.008517, allocations: 0 / 0.5249 GB, free: 13.3 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.0001004/0.008618, allocations: 164.6 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.008649, allocations: 10.81 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.00868, allocations: 8.344 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.008685, allocations: 4 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.008689, allocations: 0 / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008693, allocations: 0 / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.008855, allocations: 136.5 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008856, allocations: 4 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.008882, allocations: 10.67 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.008886, allocations: 3.938 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.008896, allocations: 4 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008897, allocations: 0 / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008898, allocations: 0 / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.009054, allocations: 191.9 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.009072, allocations: 15.83 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.009097, allocations: 0 / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.009164, allocations: 12.77 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.009221, allocations: 7.984 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.009225, allocations: 1.062 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.009303, allocations: 141.4 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009303, allocations: 0 / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002655/0.009568, allocations: 16.75 kB / 0.5256 GB, free: 12.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.0001264/0.009695, allocations: 100.8 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.009816, allocations: 23.61 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009818, allocations: 4 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.009851, allocations: 18.12 kB / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01015, allocations: 7.938 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.01082, allocations: 181.8 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.01087, allocations: 62.05 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.01091, allocations: 4.266 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.01096, allocations: 12.5 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.01096, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.003788/0.01475, allocations: 0.9727 MB / 0.5269 GB, free: 11.14 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.785329748876393]