Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009323/0.0009323, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001078/0.001078, allocations: 181 kB / 23.36 MB, free: 1.133 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.9959/0.9959, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.764/0.764, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.676e-05, allocations: 5.328 kB / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001254/0.00127, allocations: 0.6995 MB / 480.7 MB, free: 6.262 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000934/0.002204, allocations: 0.8827 MB / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002244, allocations: 0 / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.002272, allocations: 3.938 kB / 481.6 MB, free: 5.367 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.00235, allocations: 9.234 kB / 481.6 MB, free: 5.359 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.002481, allocations: 24.59 kB / 481.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.002555, allocations: 41.56 kB / 481.7 MB, free: 5.301 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.002638, allocations: 13.94 kB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.002727, allocations: 30.06 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.002777, allocations: 21.22 kB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.0028, allocations: 9.719 kB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.00281, allocations: 4 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.00283, allocations: 11.06 kB / 481.7 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.00285, allocations: 13.41 kB / 481.8 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.515e-05/0.002935, allocations: 38.84 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002937, allocations: 0 / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.002938, allocations: 0.8438 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.415e-06/0.00294, allocations: 0 / 481.8 MB, free: 5.176 MB / 442.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.0002848/0.003225, allocations: 248.6 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.003255, allocations: 12.91 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.00328, allocations: 4.922 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.00336, allocations: 113.7 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.003376, allocations: 5 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.003389, allocations: 11.34 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.003492, allocations: 67.8 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.003499, allocations: 3.938 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.003508, allocations: 4 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003513, allocations: 0 / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.808e-05/0.003541, allocations: 8.984 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.003752, allocations: 164.9 kB / 482.4 MB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.003813, allocations: 35.22 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.00383, allocations: 13.75 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.003843, allocations: 8.812 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003862, allocations: 31.44 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.003863, allocations: 0 / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.000109/0.003972, allocations: 51.84 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.004005, allocations: 55.34 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.004057, allocations: 110.8 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.004066, allocations: 30.3 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.004097, allocations: 93.16 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.004111, allocations: 8.547 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.004136, allocations: 22.38 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.004206, allocations: 318.8 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.004217, allocations: 4.531 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.004228, allocations: 4.594 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.004268, allocations: 18.08 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00427, allocations: 0 / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.698e-05/0.004327, allocations: 56.06 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.004339, allocations: 9.875 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.004344, allocations: 5.172 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.004357, allocations: 0 / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.004421, allocations: 8 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004424, allocations: 1.062 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.004447, allocations: 3.984 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.004451, allocations: 4.906 kB / 483.3 MB, free: 3.539 MB / 442.7 MB 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,intLesEquThr.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 5.322e-05/0.004504, allocations: 115.4 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.004519, allocations: 7.938 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.004537, allocations: 8 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004538, allocations: 3.109 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.004539, allocations: 0 / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.004545, allocations: 9.297 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.004629, allocations: 77.78 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.00463, allocations: 0 / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.004653, allocations: 8.484 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.004656, allocations: 5.375 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.004661, allocations: 3.938 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004662, allocations: 0 / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-07/0.004662, allocations: 0 / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.332e-05/0.004735, allocations: 144.5 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.004741, allocations: 0 / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.004751, allocations: 3.938 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.004788, allocations: 12.67 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.004824, allocations: 11.98 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.004827, allocations: 0.9062 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.304e-05/0.00484, allocations: 16.83 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00484, allocations: 4.594 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.004956, allocations: 4 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.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 6.605e-05/0.005022, allocations: 81.84 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.211e-05/0.005084, allocations: 25.56 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.005086, allocations: 0 / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.005108, allocations: 18.86 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.005226, allocations: 7.984 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.005427, allocations: 130.1 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.005459, allocations: 60.09 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.005484, allocations: 5.25 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.005536, allocations: 59.97 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.005536, allocations: 1.125 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of Templates: time 0.002547/0.008083, allocations: 0.9642 MB / 485.1 MB, free: 1.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.521879396867007]