Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009463/0.0009463, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009589/0.0009589, allocations: 173 kB / 23.03 MB, free: 1.543 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.8883/0.8883, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7346/0.7346, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 179] 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 4 kB / 0.5203 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.951e-05, allocations: 5.047 kB / 0.5203 GB, free: 2.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001478/0.001497, allocations: 0.6858 MB / 0.521 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.008495, allocations: 0.8872 MB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.008532, allocations: 0 / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.008564, allocations: 4.844 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.008642, allocations: 8.969 kB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.008786, allocations: 25.34 kB / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.008872, allocations: 39.91 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.008965, allocations: 11.98 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.00906, allocations: 32.48 kB / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.00912, allocations: 23.95 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.009144, allocations: 4.812 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.009157, allocations: 4 kB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.009176, allocations: 12.94 kB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.009201, allocations: 11.98 kB / 0.522 GB, free: 436 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.009293, allocations: 35.83 kB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.009295, allocations: 0.8438 kB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.009296, allocations: 0 / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.0093, allocations: 5.75 kB / 0.5221 GB, free: 396 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004062/0.009706, allocations: 367.7 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.009744, allocations: 8.031 kB / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.009788, allocations: 12.89 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.009888, allocations: 121 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.009908, allocations: 384 / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.00992, allocations: 8.844 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.01007, allocations: 64.78 kB / 0.5226 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.01008, allocations: 0 / 0.5226 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01009, allocations: 8.656 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01009, allocations: 0 / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.01015, allocations: 24.45 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.01047, allocations: 276.4 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.814e-05/0.01057, allocations: 55.84 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.0106, allocations: 11.72 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.01061, allocations: 0.9375 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.01064, allocations: 41.33 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.01064, allocations: 1.75 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.01082, allocations: 69.61 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.01085, allocations: 51.41 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.01093, allocations: 165.9 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.01094, allocations: 27.45 kB / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003054/0.014, allocations: 134.9 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.01402, allocations: 7.906 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.01406, allocations: 27.36 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01418, allocations: 496.1 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.0142, allocations: 12.67 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.01423, allocations: 13.41 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.01428, allocations: 23.67 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01428, allocations: 0 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.238e-05/0.01437, allocations: 54.88 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01439, allocations: 11.94 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01439, allocations: 0 / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.0144, allocations: 0 / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.01448, allocations: 10.05 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01449, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.01452, allocations: 0 / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.01453, allocations: 4 kB / 0.5241 GB, free: 14.12 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 6.933e-05/0.0146, allocations: 154.5 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.01463, allocations: 11.89 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.01465, allocations: 11.98 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01465, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01465, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.01466, allocations: 4 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.01478, allocations: 129.1 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01478, allocations: 1 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.01482, allocations: 7.984 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01482, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01483, allocations: 8.812 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.01483, allocations: 3.938 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01483, allocations: 1 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.01496, allocations: 196.2 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.01497, allocations: 9.016 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.01498, allocations: 3.938 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.01504, allocations: 4.047 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01509, allocations: 17.12 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.01509, allocations: 4 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.01514, allocations: 131.2 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01514, allocations: 3.094 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002142/0.01535, allocations: 8 kB / 0.5248 GB, free: 13.37 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 7.49e-05/0.01543, allocations: 95.25 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/0.01553, allocations: 31.61 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01553, allocations: 3.938 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.01556, allocations: 27.67 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.0158, allocations: 7.031 kB / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.01608, allocations: 142.1 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.01612, allocations: 59.34 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.01615, allocations: 5.5 kB / 0.5251 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.01619, allocations: 16.44 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01619, allocations: 0 / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.002874/0.01907, allocations: 1.019 MB / 0.5262 GB, free: 11.96 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5022603077813983]