Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001095/0.001095, 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.001037/0.001037, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9362/0.9362, allocations: 177.1 MB / 203.4 MB, free: 5.168 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.8255/0.8255, allocations: 154.9 MB / 414.8 MB, free: 328 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.5207 GB, free: 1.766 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.852e-05, allocations: 5.406 kB / 0.5207 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002655/0.002683, allocations: 0.7051 MB / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003851, allocations: 0.8716 MB / 0.5222 GB, free: 204 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.003916, allocations: 4 kB / 0.5222 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.00396, allocations: 3.938 kB / 0.5222 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.004073, allocations: 11.86 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.004249, allocations: 20.53 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.004334, allocations: 47.91 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.00444, allocations: 8.5 kB / 0.5223 GB, free: 108 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.004524, allocations: 24.61 kB / 0.5223 GB, free: 84 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.004591, allocations: 23.95 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.004624, allocations: 8.688 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.004635, allocations: 4 kB / 0.5224 GB, free: 48 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.004656, allocations: 13.39 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.004688, allocations: 12 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004849, allocations: 39.97 kB / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.004853, allocations: 0 / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.004854, allocations: 0.9375 kB / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.004858, allocations: 0 / 0.5224 GB, free: 15.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004013/0.00526, allocations: 373.9 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.005299, allocations: 12.03 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.005349, allocations: 8.891 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.005452, allocations: 113.8 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.005479, allocations: 4.375 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.005492, allocations: 4.375 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.005636, allocations: 75.66 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.005644, allocations: 3.938 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005653, allocations: 1.281 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.00566, allocations: 0 / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.005704, allocations: 23.97 kB / 0.523 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.006114, allocations: 273.1 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.429e-05/0.006208, allocations: 50.92 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.006235, allocations: 20.5 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.006249, allocations: 4.031 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.006273, allocations: 35.23 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.006274, allocations: 0 / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.006436, allocations: 65.69 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.006467, allocations: 55.41 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.006545, allocations: 169.9 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.006559, allocations: 27.77 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.006616, allocations: 134.9 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.006633, allocations: 7.953 kB / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.006663, allocations: 23.38 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.00679, allocations: 0.4884 MB / 0.5243 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.006815, allocations: 5.469 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.006831, allocations: 4 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.006881, allocations: 27.67 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.006884, allocations: 4.906 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.526e-05/0.00696, allocations: 57.58 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.006972, allocations: 4 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006978, allocations: 1.062 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.00699, allocations: 0 / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.00708, allocations: 12.8 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.007085, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.00711, allocations: 8.5 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007117, allocations: 0 / 0.5245 GB, free: 13.72 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: 2 (reaToInt.y,intLesThr.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 9.09e-05/0.007208, allocations: 169.3 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.007222, allocations: 5.172 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.007245, allocations: 12 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007247, allocations: 0 / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.007251, allocations: 0 / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.007253, allocations: 0.5 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.007356, allocations: 130.4 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007357, allocations: 3.938 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.007389, allocations: 11.98 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.00739, allocations: 0 / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.007397, allocations: 0 / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007397, allocations: 1.562 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007398, allocations: 3.938 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.007695, allocations: 207.9 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.007707, allocations: 7.891 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.007724, allocations: 6.438 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.007761, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.007828, allocations: 15.97 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.007833, allocations: 4 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.007872, allocations: 127.2 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007872, allocations: 0 / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000137/0.008009, allocations: 10.69 kB / 0.5252 GB, free: 12.96 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001033/0.008112, allocations: 95.23 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.008221, allocations: 35.84 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.008222, allocations: 0 / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.00825, allocations: 19.77 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.008439, allocations: 16.77 kB / 0.5253 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.008714, allocations: 127.3 kB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.008756, allocations: 59.34 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.008785, allocations: 6.875 kB / 0.5255 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.008833, allocations: 20.48 kB / 0.5255 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.008834, allocations: 0 / 0.5255 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.003226/0.01206, allocations: 1.018 MB / 0.5265 GB, free: 11.55 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8626861167140305]