Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001323/0.001323, allocations: 88.72 kB / 19.44 MB, free: 356 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.001506/0.001506, allocations: 161.7 kB / 22.76 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.23/1.23, allocations: 154.6 MB / 414.1 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.972e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002106/0.002135, allocations: 0.7985 MB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003638, allocations: 0.8945 MB / 0.5213 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.003736, allocations: 9.75 kB / 0.5213 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.003868, allocations: 11.86 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.003912, allocations: 7.875 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.004146, allocations: 41.36 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004298, allocations: 75.72 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.004407, allocations: 23.98 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.004601, allocations: 43.89 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.004678, allocations: 25.19 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.0047, allocations: 8 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.004749, allocations: 12 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.00477, allocations: 12.55 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.004815, allocations: 23.92 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.004999, allocations: 80.39 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005003, allocations: 0 / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005004, allocations: 1.375 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005009, allocations: 3.938 kB / 0.5217 GB, free: 420 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.0006383/0.005647, allocations: 315.1 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.005686, allocations: 8.031 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.00587, allocations: 24.44 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.006431, allocations: 149.6 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.006444, allocations: 384 / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.006459, allocations: 4.375 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.006637, allocations: 66.17 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006646, allocations: 192 / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.006657, allocations: 384 / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006664, allocations: 4.375 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.006789, allocations: 33.02 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.007315, allocations: 250 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.007499, allocations: 50.55 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.007566, allocations: 26.41 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.007584, allocations: 0 / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.007619, allocations: 30.56 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.007619, allocations: 0.6875 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002939/0.007913, allocations: 82.22 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.007963, allocations: 53.38 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.008109, allocations: 135.9 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.008134, allocations: 29.64 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.008215, allocations: 100.1 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.008231, allocations: 3.953 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.008287, allocations: 18.25 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.008469, allocations: 322.8 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.008531, allocations: 17.92 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.008579, allocations: 12 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.008669, allocations: 24.84 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008671, allocations: 0 / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001841/0.008855, allocations: 84.58 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.008869, allocations: 4 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.008877, allocations: 7.984 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.008895, allocations: 0 / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.008963, allocations: 7.984 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.008967, allocations: 0 / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.009045, allocations: 13.66 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.009057, allocations: 4 kB / 0.5235 GB, free: 14.41 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.0001079/0.009164, allocations: 113.8 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.009208, allocations: 8.875 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.009237, allocations: 8.344 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.009241, allocations: 4 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.009246, allocations: 0.8438 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009248, allocations: 0 / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.009433, allocations: 129.9 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009434, allocations: 0 / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.009482, allocations: 16.48 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009484, allocations: 2.938 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009491, allocations: 0 / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009493, allocations: 4 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009494, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.009717, allocations: 151.5 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.009737, allocations: 11.89 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.009755, allocations: 0 / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.009869, allocations: 15.11 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.009923, allocations: 7.984 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.009931, allocations: 4 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.192e-05/0.01002, allocations: 109.5 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002468/0.01027, allocations: 15.89 kB / 0.5241 GB, free: 13.77 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.0001413/0.01041, allocations: 99.19 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.01056, allocations: 29.8 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01056, allocations: 4 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.01062, allocations: 15.98 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.01089, allocations: 15.11 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.01135, allocations: 172.1 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.89e-05/0.01144, allocations: 75.33 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.01148, allocations: 7.5 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.01153, allocations: 12.5 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.01153, allocations: 0 / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.004168/0.0157, allocations: 0.9131 MB / 0.5254 GB, free: 12.44 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.829435136984102]