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.001463/0.001463, allocations: 80.73 kB / 19.43 MB, free: 360 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.001585/0.001585, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 178] 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 1.302/1.302, allocations: 154.8 MB / 414.3 MB, free: 400 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 178] 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.655e-06/2.655e-06, allocations: 0 / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.271e-05, allocations: 3.188 kB / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00215/0.002183, allocations: 0.7863 MB / 0.5207 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.003647, allocations: 0.8986 MB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003754, allocations: 4 kB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.003905, allocations: 16.83 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.003957, allocations: 10.41 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004193, allocations: 43.83 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004341, allocations: 71.78 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.004464, allocations: 19.98 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.004671, allocations: 55.83 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.004748, allocations: 19.91 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.004774, allocations: 9.562 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.004827, allocations: 11.98 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.004848, allocations: 7.938 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.004895, allocations: 23.92 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.005116, allocations: 84.7 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.005121, allocations: 0 / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005122, allocations: 0 / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.005129, allocations: 1.188 kB / 0.5219 GB, free: 200 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006827/0.005812, allocations: 310 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.005856, allocations: 8.594 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.006068, allocations: 25.91 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.006407, allocations: 160.8 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.006421, allocations: 384 / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.006436, allocations: 8.375 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.006615, allocations: 58.23 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006625, allocations: 1.406 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.00664, allocations: 4.375 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.006645, allocations: 384 / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.006779, allocations: 44.48 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.007343, allocations: 245.8 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.00753, allocations: 51.92 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.007596, allocations: 24.94 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.007617, allocations: 0.7812 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.007658, allocations: 34.56 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.953e-06/0.00766, allocations: 0.8438 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003129/0.007973, allocations: 73.62 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.008026, allocations: 54.19 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.008179, allocations: 140.1 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.008205, allocations: 25.7 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.008293, allocations: 100.1 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.008314, allocations: 7.953 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.008363, allocations: 13.72 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.008555, allocations: 322.8 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.008614, allocations: 16.48 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.008663, allocations: 12.5 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.00876, allocations: 29.94 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.008764, allocations: 4 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001724/0.008936, allocations: 70.38 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.008957, allocations: 8 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.008961, allocations: 0.625 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.00898, allocations: 5.406 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.009046, allocations: 7.984 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009052, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.009133, allocations: 12.44 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.009143, allocations: 4 kB / 0.5237 GB, free: 14.19 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 0.000106/0.009249, allocations: 114.9 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.009282, allocations: 7.938 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.009315, allocations: 9.641 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009317, allocations: 0 / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.009321, allocations: 0.625 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.009326, allocations: 7.984 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.009508, allocations: 126.5 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00951, allocations: 4 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.009554, allocations: 7.922 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.009559, allocations: 8.562 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.009572, allocations: 4 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009573, allocations: 1.5 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009574, allocations: 0 / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.009803, allocations: 155.5 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.009824, allocations: 14.36 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.009847, allocations: 4 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.009953, allocations: 11.98 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.01, allocations: 7.984 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01001, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.27e-05/0.0101, allocations: 103.2 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 1 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002318/0.01033, allocations: 15.89 kB / 0.5243 GB, free: 13.55 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.0001581/0.01049, allocations: 100.3 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.01066, allocations: 36.92 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01066, allocations: 0 / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.01072, allocations: 16.73 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.011, allocations: 10.73 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.01146, allocations: 170.8 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.01155, allocations: 77.05 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.01159, allocations: 10.66 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.01164, allocations: 12.5 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01164, allocations: 4 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003921/0.01556, allocations: 0.9132 MB / 0.5256 GB, free: 12.2 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.879914205987006]