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.000956/0.000956, 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.0009876/0.0009876, allocations: 169 kB / 23.02 MB, free: 1.551 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7847/0.7847, allocations: 154.8 MB / 414.7 MB, free: 480 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.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 2.545e-06/2.545e-06, allocations: 0 / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.395e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.004838/0.004872, allocations: 0.81 MB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.006215, allocations: 0.9335 MB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.006323, allocations: 4 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.006484, allocations: 16.58 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.006533, allocations: 8.844 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.006784, allocations: 39.83 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.006924, allocations: 69.53 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.007056, allocations: 19.98 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.007273, allocations: 47.89 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.007364, allocations: 23.91 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.007392, allocations: 8.562 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.007443, allocations: 7.984 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.007462, allocations: 16.44 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.007496, allocations: 16.95 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.007649, allocations: 59.7 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.007653, allocations: 0 / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.007654, allocations: 1.219 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.00766, allocations: 0 / 0.5227 GB, free: 15.83 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005287/0.008189, allocations: 400.3 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.008237, allocations: 12.66 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.008411, allocations: 22.5 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.008627, allocations: 148.4 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.008641, allocations: 5.375 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.00866, allocations: 8.375 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.008814, allocations: 66.88 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.008827, allocations: 1.094 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.008838, allocations: 384 / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.008847, allocations: 1.562 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.621e-05/0.008903, allocations: 19.92 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.009341, allocations: 300.4 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.009457, allocations: 39.05 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.009488, allocations: 16.22 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.009509, allocations: 4.844 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.009535, allocations: 37.42 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.009536, allocations: 4.625 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001951/0.009731, allocations: 49.73 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.009765, allocations: 51.91 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.009894, allocations: 192.8 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.009915, allocations: 25.7 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.009991, allocations: 153.8 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.01001, allocations: 11.94 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.01005, allocations: 19.38 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01021, allocations: 0.4884 MB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.01023, allocations: 4 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.01025, allocations: 11.94 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.0103, allocations: 19.67 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.0103, allocations: 0 / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.417e-05/0.0104, allocations: 46.92 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01041, allocations: 11.98 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01042, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01044, allocations: 0.5312 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.0105, allocations: 4.609 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.0105, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.01054, allocations: 12.88 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01055, allocations: 3.984 kB / 0.5248 GB, free: 13.47 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 (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 8.663e-05/0.01064, allocations: 166.1 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.01067, allocations: 11.89 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.0107, allocations: 12.34 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0107, allocations: 0.9688 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01071, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01071, allocations: 4 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01086, allocations: 138.1 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01086, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.01089, allocations: 4 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01089, allocations: 3.938 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.0109, allocations: 5.328 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0109, allocations: 4 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0109, allocations: 0 / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.01105, allocations: 195.8 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.01107, allocations: 10.69 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01109, allocations: 0 / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.667e-05/0.01116, allocations: 7.984 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.01121, allocations: 11.98 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.01122, allocations: 0 / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.01129, allocations: 141.5 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01129, allocations: 3.938 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002558/0.01154, allocations: 14.27 kB / 0.5255 GB, free: 12.7 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 (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 0.0001235/0.01167, allocations: 103.2 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.01177, allocations: 15.69 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.01177, allocations: 4 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.01181, allocations: 20.36 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.01211, allocations: 12.84 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.0127, allocations: 178.5 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.01274, allocations: 66.78 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01277, allocations: 3.984 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.01281, allocations: 12.5 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.01281, allocations: 0 / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.003415/0.01623, allocations: 0.9118 MB / 0.5268 GB, free: 11.35 MB / 0.4948 GB " [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: 4.032726794015616]