Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007022/0.0007022, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000867/0.001569, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000649/0.000649, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008482/0.001497, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9596/0.9596, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09032/1.05, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8408/0.8408, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2959/1.137, allocations: 49.12 MB / 448.6 MB, free: 5.895 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 450 MB, free: 4.527 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.274e-05, allocations: 6 kB / 450 MB, free: 4.523 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001375/0.001398, allocations: 0.855 MB / 450.9 MB, free: 3.703 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.002175, allocations: 0.9501 MB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.002252, allocations: 0 / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.002314, allocations: 12.97 kB / 451.8 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.078e-05/0.002345, allocations: 7.328 kB / 451.8 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.676e-05/0.002442, allocations: 34.06 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002543, allocations: 78.52 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.002629, allocations: 25.69 kB / 452 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.002782, allocations: 61.5 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.002845, allocations: 19.38 kB / 452.1 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.00286, allocations: 4.625 kB / 452.1 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.002912, allocations: 21.88 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.002927, allocations: 8.484 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.002947, allocations: 15.94 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.003049, allocations: 43.8 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.00306, allocations: 0 / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003061, allocations: 0 / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.00307, allocations: 4.859 kB / 452.1 MB, free: 2.449 MB / 426.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.0003483/0.003418, allocations: 298.8 kB / 452.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.003447, allocations: 8.531 kB / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.003588, allocations: 95.31 kB / 452.5 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.003738, allocations: 134.2 kB / 452.7 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.003749, allocations: 5.062 kB / 452.7 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.00376, allocations: 4.375 kB / 452.7 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.003852, allocations: 64.84 kB / 452.7 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.00386, allocations: 1.406 kB / 452.7 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003868, allocations: 4.375 kB / 452.8 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.003875, allocations: 8.312 kB / 452.8 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.003899, allocations: 11.92 kB / 452.8 MB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.004119, allocations: 181.4 kB / 452.9 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.443e-05/0.004183, allocations: 36.2 kB / 453 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.348e-05/0.004196, allocations: 8.859 kB / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.004207, allocations: 0 / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.004227, allocations: 38.53 kB / 453 MB, free: 1.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.444e-06/0.004229, allocations: 5.922 kB / 453 MB, free: 1.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001093/0.004338, allocations: 37.78 kB / 453.1 MB, free: 1.418 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.004366, allocations: 59.39 kB / 453.1 MB, free: 1.348 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.004436, allocations: 135.3 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.004453, allocations: 30.55 kB / 453.3 MB, free: 1.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.004487, allocations: 88.12 kB / 453.4 MB, free: 1.078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.004502, allocations: 7.891 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.00453, allocations: 22.33 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.004606, allocations: 324.3 kB / 453.7 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.004622, allocations: 4 kB / 453.7 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-06/0.004631, allocations: 0 / 453.7 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.004659, allocations: 22.05 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.004661, allocations: 2.094 kB / 453.8 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.1e-05/0.004712, allocations: 41.69 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004725, allocations: 8.562 kB / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.004728, allocations: 0 / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.004739, allocations: 0 / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.004787, allocations: 4 kB / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00479, allocations: 0.9062 kB / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.004813, allocations: 7.984 kB / 453.8 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.004818, allocations: 5 kB / 453.8 MB, free: 0.6211 MB / 426.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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.648e-05/0.004875, allocations: 117.8 kB / 453.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.00489, allocations: 9.125 kB / 453.9 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.004914, allocations: 16.33 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.004916, allocations: 1.078 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.004917, allocations: 0.625 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.00492, allocations: 0 / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.005003, allocations: 78.42 kB / 454 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005004, allocations: 4.656 kB / 454 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.005023, allocations: 7.938 kB / 454 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.005033, allocations: 8.516 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005035, allocations: 0.5625 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.00504, allocations: 3.938 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005041, allocations: 0.625 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005042, allocations: 0.8125 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.684e-05/0.005119, allocations: 136.3 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.005133, allocations: 8 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.005171, allocations: 13.14 kB / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.005201, allocations: 3.984 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.005204, allocations: 4.719 kB / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.005227, allocations: 30.55 kB / 454.3 MB, free: 144 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005228, allocations: 0.9062 kB / 454.3 MB, free: 144 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.005343, allocations: 11.95 kB / 454.3 MB, free: 132 kB / 426.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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.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 6.99e-05/0.005413, allocations: 81.42 kB / 454.3 MB, free: 44 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.005485, allocations: 18.81 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.005491, allocations: 0.625 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.005515, allocations: 18.16 kB / 454.4 MB, free: 4 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.005732, allocations: 100.4 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.006376, allocations: 193.7 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.006412, allocations: 59.34 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.006441, allocations: 5.062 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.00651, allocations: 60.08 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of SimCode: time 4.6e-07/0.006511, allocations: 0 / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of Templates: time 0.002418/0.008928, allocations: 1.006 MB / 455.8 MB, free: 14.6 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.523084537126124]