Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.00143/0.00143, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001197/0.001197, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9677/0.9677, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.9046/0.9046, allocations: 154.9 MB / 415.9 MB, free: 260 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5219 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.468e-05, allocations: 3.188 kB / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002142/0.002167, allocations: 0.6962 MB / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003502, allocations: 0.8835 MB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.003562, allocations: 4.844 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.003601, allocations: 3.938 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003713, allocations: 2.281 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.003909, allocations: 27.89 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.004022, allocations: 43.86 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.00414, allocations: 11.98 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.004248, allocations: 27.97 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.00432, allocations: 23.91 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.004343, allocations: 4.969 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.004355, allocations: 4 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.004376, allocations: 4 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004412, allocations: 21.28 kB / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.004534, allocations: 31.91 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004538, allocations: 0 / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.004539, allocations: 0.6875 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.004544, allocations: 0 / 0.5236 GB, free: 15.73 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.0005017/0.005045, allocations: 377.4 kB / 0.524 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.005093, allocations: 12.03 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.005134, allocations: 13.83 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.005244, allocations: 112.6 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.005265, allocations: 384 / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.005278, allocations: 9.188 kB / 0.5241 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005449, allocations: 63.52 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.005461, allocations: 7.922 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.005474, allocations: 4.906 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.005481, allocations: 7.922 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.005529, allocations: 8.594 kB / 0.5242 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.00594, allocations: 265 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.006051, allocations: 43.67 kB / 0.5245 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.006082, allocations: 16.47 kB / 0.5245 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.006096, allocations: 0 / 0.5245 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.006125, allocations: 38.39 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.006127, allocations: 0 / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001858/0.006313, allocations: 57.66 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.006357, allocations: 57.16 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006469, allocations: 165.9 kB / 0.5248 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.006485, allocations: 29.7 kB / 0.5249 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.006549, allocations: 134.9 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.006571, allocations: 9.703 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.006617, allocations: 23.36 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.006769, allocations: 496.1 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.006794, allocations: 7.984 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.006815, allocations: 4 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.00687, allocations: 24.38 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006872, allocations: 1.406 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.006981, allocations: 61.56 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.006996, allocations: 4 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007001, allocations: 0 / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007012, allocations: 1.25 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.007102, allocations: 8 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.007105, allocations: 0 / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.007148, allocations: 9.016 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007154, allocations: 0 / 0.5256 GB, free: 13.52 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,intGreThr.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.406e-05/0.007248, allocations: 157.7 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.00728, allocations: 11.83 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.007308, allocations: 12 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007311, allocations: 3.156 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.007314, allocations: 4 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.007318, allocations: 7.922 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.007471, allocations: 109.2 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007473, allocations: 0 / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.007528, allocations: 7.984 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.00753, allocations: 4.328 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.00754, allocations: 3.938 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007541, allocations: 3.031 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.007543, allocations: 320 / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.007713, allocations: 199.9 kB / 0.5261 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.007727, allocations: 7.953 kB / 0.5261 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007742, allocations: 3.938 kB / 0.5261 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.007815, allocations: 4 kB / 0.5261 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.007868, allocations: 19.91 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007873, allocations: 0 / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.007922, allocations: 128.7 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007922, allocations: 0 / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002615/0.008184, allocations: 12 kB / 0.5263 GB, free: 12.78 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 (intGreThr.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.0001157/0.008299, allocations: 96.64 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.0084, allocations: 27.66 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.008403, allocations: 4 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.008446, allocations: 24.89 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.008736, allocations: 8 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.009029, allocations: 131.4 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.009072, allocations: 59.34 kB / 0.5266 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.009108, allocations: 7.406 kB / 0.5266 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.009177, allocations: 74.19 kB / 0.5267 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.009178, allocations: 0 / 0.5267 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.003282/0.01246, allocations: 1.054 MB / 0.5277 GB, free: 11.29 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.94031076785177]